-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
PHP Fatal error in PHPStan\Command\AnalyseApplication::analyse() #95
Comments
I can't speak to the potential impact of the NULL addition, but it does get me up and running agin when testing locally. |
This may be a symptom of the dev phpstan being used. See also #93 for a similar problem. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
phpstan/phpstan version: 0.11.x-dev#bf4e560b898dd77e5d4b22978e5fddece3d7a364
Error message
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function PHPStan\Command\AnalyseApplication::analyse(), 6 passed
Reason
phpstan/phpstan/src/Command/AnalyseApplication.php:51
requires 7 parameters and
vendor/mglaman/drupal-check/src/Command/CheckCommand.php
only provides 6 of themPossible fix
Adding a NULL as the 7th parameter as I don't think an extra projectConfigFile is needed in this case.
The text was updated successfully, but these errors were encountered: