-
-
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
Use latest versions of tools unless a version is specified (phpstan 2.x release) #433
Comments
I think it's because it's installed with a number of phpstan plugins that are not 2.0 ready yet:
As soon as they're all 2.0 compatible, phpstan will be automatically updated. |
You have to define the plugins that you'd like to use in
So doesn't it make sense that it's up to the user themself to bring in these dependencies through their own I.E.:
|
@jannes-io yes, I think if your project requires phpstan and/or plugins, you should just install it in your own |
First of all, thanks for creating this docker image. I ran into an issue where locally running phpstan using phpqa was returning a different result from the github workflow shivammathur/setup-php and adding phpstan.
Turns out this image still gives an old version of phpstan.
When running phpstan with a clean pull of this docker image, I expect it to use the latest available version unless otherwise specified.
steps to reproduce:
current:
it returns 1.12.7 (latest 1.x is 1.12.10)
expect:
it returns 2.0.1
The text was updated successfully, but these errors were encountered: