Skip to content

Commit 153907f

Browse files
committed
GH Actions: use explicit PHPStan major
This Monday, [PHPStan 2.0 will be released](https://phpc.social/@OndrejMirtes/113441109253809720). I've done some preliminary scans with PHPStan 2.0-dev to check if this would have an impact on this codebase and as things are, this would mean the build would start to fail. For now, I'm proposing to make a small change in the GH Actions workflow to explicitly use PHPStan 1.x. This buys us some time to evaluate PHPStan 2.0 properly and to make any changes needed to make the codebase compatible with PHPStan 2.x when we're ready for it.
1 parent 2133137 commit 153907f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/basic-qa.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
with:
208208
php-version: 'latest'
209209
coverage: none
210-
tools: phpstan
210+
tools: phpstan:1.x
211211

212212
# Install dependencies and handle caching in one go.
213213
# Dependencies need to be installed to make sure the PHPCS and PHPUnit classes are recognized.

0 commit comments

Comments
 (0)