Skip to content
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

GH Actions: use explicit PHPStan major #323

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 9, 2024

This Monday, PHPStan 2.0 will be released.

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.

Note:
At least one of the new issues reported has been identified as a bug and reported to PHPStan: phpstan/phpstan#11980

@jrfnl jrfnl added this to the 1.2.x Next milestone Nov 9, 2024
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.

Note:
At least one of the new issues reported has been identified as a bug and reported to PHPStan: phpstan/phpstan#11980
@jrfnl jrfnl force-pushed the feature/ghactions-use-phpstan-1.0 branch from 214e835 to bc5b3b3 Compare November 9, 2024 00:24
@jrfnl jrfnl merged commit c938bd8 into develop Nov 9, 2024
43 checks passed
@jrfnl jrfnl deleted the feature/ghactions-use-phpstan-1.0 branch November 9, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant