Repository navigation
Run PHPStan at level max - #288
Merged
Merged
Conversation
level: max is always the strictest level the installed PHPStan has (10 in 2.x), so a PHPStan upgrade that adds a level is adopted automatically, per the CLAUDE.md code quality bar. 0 errors. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Contributor
Author
|
Review on head c1ad2d5: phpstan.neon level 10 changed to max (same level today in PHPStan 2.x), plus a changelog fragment. Nothing under src/ or bin/. All 24 checks are green, including PHPStan. Merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets
level: maxin phpstan.neon instead oflevel: 10.maxalways resolves to the strictest level the installed PHPStan has (10 in 2.x), so a PHPStan upgrade that adds a level is adopted automatically, as CLAUDE.md's code quality bar asks. The trade-off: such an upgrade turns CI red until the new errors are fixed.[OK] No errors.parameters.levelfrom phpstan.neon with a "level " prefix, so it will show "level max".🤖 Generated with Claude Code