Repository navigation
Add the PHPStan configs the pre-push hook dispatches on [ignore_release] - #205
Merged
Merged
Conversation
Without phpstan/phpstan.created.neon and phpstan.modified.neon the hook runs, finds no config, and analyses nothing.
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
The plugin already ships the shared pre-push hook, and CI verifies it against the canonical copy, but the hook dispatches on
phpstan/phpstan.created.neonandphpstan/phpstan.modified.neonand analyses nothing at all without them, so until now it has been a no-op here.This adds both. Created files are held at level 9, since a new file carries no pre-existing debt; touched files inherit the plugin's level 5. Both include the plugin's existing
phpstan.neon, and CI analyses only that file, so CI is unaffected.Issue No
Related to PG-4897
Steps to Replicate the Issue
Not applicable — this adds tooling rather than fixing a defect.
Checklist