-
-
Notifications
You must be signed in to change notification settings - Fork 9
Increase PHPStan level #26
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
Conversation
Level 6 works now, but we should probaly revert 8bd8415 and find out what the issue is here. |
We should maybe rethink if we really need both PhpStan and Psalm. 🙈 |
I would merge this as it is now, and create a new PR that reverts the |
I would prefer to wait until the PHPStan devs have signaled that they want to fix phpstan/phpstan-phpunit#77. I am not that big a fan of merging pointless workarounds into production code just to fix issues in some dev tools. |
The workaround only affects the |
Ok, that's better than. Still a pointless workaround. 🙈 |
Pull request that reverts the workaround: #27 |
Level 6 seems impossible because psalm fights the changes required for phpstan.Fixed by adding@phpstan-
and@psalm-
type annotations.But the level 5 changes can be used I think.
/cc @m-vo