Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DI\ContainerBuilder [2.3.13] - problem with php-generator #150

Closed
f3l1x opened this issue Mar 17, 2017 · 0 comments
Closed

DI\ContainerBuilder [2.3.13] - problem with php-generator #150

f3l1x opened this issue Mar 17, 2017 · 0 comments

Comments

@f3l1x
Copy link
Member

@f3l1x f3l1x commented Mar 17, 2017

  • bug report? yes
  • feature request? no
  • version: 2.3.13

Description

I'm getting error in nette/di:2.3.13 container generation.

Steps To Reproduce

Composer: nette/di: ~2.3.0

Exception:

   ArgumentCountError: Too few arguments to function Nette\PhpGenerator\Parameter::__construct(), 0 passed in "vendor/nette/di/src/DI/ContainerBuilder.php" on line 672 and exactly 1 expected

Stacktrace:

   in PhpGenerator/Traits/NameAware.php(25) 
   in src/DI/ContainerBuilder.php(672) Nette\PhpGenerator\Parameter->__construct()
   in src/DI/ContainerBuilder.php(580) Nette\DI\ContainerBuilder->convertParameters()
   in src/DI/Compiler.php(231) Nette\DI\ContainerBuilder->generateClasses()
   in src/DI/Compiler.php(152) Nette\DI\Compiler->generateCode()
   in src/DI/ContainerLoader.php(115) Nette\DI\Compiler->compile()
   in src/DI/ContainerLoader.php(79) Nette\DI\ContainerLoader->generate()
   in src/DI/ContainerLoader.php(44) Nette\DI\ContainerLoader->loadFile()
   in tests/cases/Compare.phpt(37) Nette\DI\ContainerLoader->load()
dg added a commit that referenced this issue Mar 17, 2017
@dg dg closed this Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.