-
-
Notifications
You must be signed in to change notification settings - Fork 421
[sym7] Make:user not compatible with phpstan #1404
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
Comments
I think I can fix line 22 :
and line 74 :
but I don't know if this is a good way to fix this, also I don't know how to fix |
seem related to symfony/symfony@d473b90 |
seem fixed by this PR https://github.com/symfony/maker-bundle/pull/1402/files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi !
when using the maker bundle to create user auth system, phpstan seem not very happy with what you get
To reproduce, do this : (I use the symfony cli on version 5.7.4)
symfony new --webapp .
symfony console make:user
with all parameters by default
then add phpstan
composer require --dev phpstan/phpstan
and answer yes when the recipe ask execution
recipe : https://github.com/symfony/recipes-contrib/tree/main/phpstan/phpstan/1.0
this add the phpstan.dist.neon file, with "level: 6" check
finally, execute phpstan :
phpstan analyse ./src
and you got errors :
The text was updated successfully, but these errors were encountered: