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 #384

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Nov 8, 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.

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.
@coveralls
Copy link

Coverage Status

coverage: 99.248%. remained the same
when pulling 1f2cab6 on feature/ghactions-use-phpstan-1.0
into 4b41f12 on develop.

@jrfnl jrfnl merged commit 4673027 into develop Nov 8, 2024
30 checks passed
@jrfnl jrfnl deleted the feature/ghactions-use-phpstan-1.0 branch November 8, 2024 12:17
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.

2 participants