Skip to content

Update PHPStan 2.0 #22

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

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Nov 20, 2024

PHPStan 2.0 has been released, so update.

As of PHPStan 1.11, we can ignore errors by error identifier instead of error message.

Existing messages and identifiers correspond literally, but the following have been added:

empty.offset

スクリーンショット 2024-11-20 22 12 23

method.unused

スクリーンショット 2024-11-20 22 12 29

@dantleech dantleech merged commit 7d0c546 into phpactor:master Nov 21, 2024
4 checks passed
@zonuexe zonuexe deleted the update/phpstan-2.0 branch November 22, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants