Repository navigation
Let touched files inherit the plugin PHPStan level [ignore_release] - #288
Merged
Merged
Conversation
The root config is already at level 5, so the overlay no longer needs to pin it or explain a lower base.
snake14
marked this pull request as ready for review
September 23, 2026 23:23
snake14
enabled auto-merge (squash)
September 23, 2026 23:24
lachiebol
approved these changes
Sep 24, 2026
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.
Description
phpstan/phpstan.modified.neon, the config the pre-push hook uses for touched files, pinned level 5 with a comment saying touched files are ratcheted up even where the CI base level is lower. The plugin'sphpstan.neonis already at level 5, so the comment no longer describes anything and the pin only repeats the base level.This removes both, so touched files inherit the plugin's level and the two cannot drift apart. The effective level is unchanged, and CI analyses only
phpstan.neon, so CI is unaffected.Issue No
Related to PG-4897
Steps to Replicate the Issue
Not applicable — this adjusts tooling rather than fixing a defect.
Checklist