-
-
Notifications
You must be signed in to change notification settings - Fork 922
Ensure PHPStan version stability #1281
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
teohhanhui
commented
Jul 24, 2017
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | N/A |
License | MIT |
Doc PR | N/A |
Would be cleaner to merge this in WDYT? |
I don't think this would create conflicts, but I leave that up to whoever does the merge. 😛 |
But sure, cleaner commit log lol... |
Hmm, the error is weird now :P. |
Yeah, it's weird. Could it have been caused by incorrect usage of PHPStan? |
Maybe @ondrejmirtes could help us figure this out. 😆 |
The problem comes from this PR phpstan/phpstan#255 (comment) and the But why does PHPStan analyze this class? We have no reference to this one in our codebase for this branch. |
I'll look into it, I'm sure there's some reason PHPStan tries to load this class. |
You're right @ondrejmirtes. PHPStan tries to load this class when it creates the type map of the But errors at this level should not be displayed, right? |
Current behaviour is actually an improvement because in 0.7, the PHPStan process would crash on a fatal error. I'll evaluate this situation and get back to you. |
You can always put this in |
Do you need global require? PHPStan is now available as a phar. |
Thanks @teohhanhui |
…sion Ensure PHPStan version stability