php-actions / phpstan

PHP Static Analysis in Github Actions.
66 stars 10 forks source link

Use Composer-style constrain #2

Closed szepeviktor closed 4 years ago

szepeviktor commented 4 years ago

kép

g105b commented 4 years ago

Hi @szepeviktor ,

Thank you for this. It took me a while to understand the difference, but I agree that using the Caret Version Range is beneficial for this Action, because of the lack of major stable release at phpstan. ^0.12.26 will upgrade to 0.13.0 but 0.12.* will not.

Thanks, I'll test this on a repository and merge your change in soon.

szepeviktor commented 4 years ago

because of the lack of major stable release at phpstan. ^0.12.26 will upgrade to 0.13.0 but 0.12.* will not.

Please see https://jubianchi.github.io/semver-check/#/^0.12.0/0.13.1

szepeviktor commented 4 years ago

Docs: https://getcomposer.org/doc/articles/versions.md#caret-version-range-

g105b commented 4 years ago

Thanks for the info. Great to have you on board!