-
Notifications
You must be signed in to change notification settings - Fork 25
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
Allow package to be installed with phpstan 0.12.x #16
Comments
Hmm, it is probably not as easy as I would have guessed due to some backwards incompatible changes which got introduced in version 0.12.0 of phpstan, here are some errors I ran into while messing around a bit:
Good to know:
|
@hostep thanks for opening this issue. Sure we can upgrade the package to support the latest version of PHPStan. Would you be able to contribute a MR for this? Looks like we better start versioning this package to support multiple versions for PHPStan... |
I could look into creating a MR, but might take me a while, bit busy with a lot of things at the moment. It might be possible to introduce a fix in a backwards compatible fashion though, but further investigation is needed. |
Awesome, thanks a lot @shochdoerfer! Looks like it works perfectly after quickly testing it out over here. Great job! |
Currently, the version constraint
"phpstan/phpstan": "^0.11.6"
blocks me to upgrade phpstan to 0.12.3 in one of my projects.Would it be possible to test this package with phpstan 0.12.x and if everything is working, declare it as compatible with 0.12.x?
Suggestion would be to change the version constraint to:
"phpstan/phpstan": "^0.11.6 || ^0.12.0"
Thanks!
The text was updated successfully, but these errors were encountered: