Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH Actions/reusable-phpstan.yml: add "version" configurable option
This Monday, [PHPStan 2.0 will be released](https://phpc.social/@OndrejMirtes/113441109253809720). To allow for packages which use this reusable workflow to choose whether to stay on PHPStan 1.x or to (automatically) move to PHPStan 2.x, this commit adds a new, optional `version` input option for the reusable PHPStan workflow. * When not set, the workflow will instruct setup-php to install the latest available PHPStan version (same as before). * When set, the workflow will instruct setup-php to install whatever version was given. The version number provided by the calling workflow should comply with the supposed ways of providing a version nr as per setup-php: https://github.com/shivammathur/setup-php/?tab=readme-ov-file#wrench-tools-support
- Loading branch information