Skip to content

Cover coverage-guard.php with phpcs and PHPStan#42

Merged
JanTvrdik merged 1 commit into
masterfrom
cover-config-files-in-checks
Jul 17, 2026
Merged

Cover coverage-guard.php with phpcs and PHPStan#42
JanTvrdik merged 1 commit into
masterfrom
cover-config-files-in-checks

Conversation

@janedbal

Copy link
Copy Markdown
Member

Root-level config files were listed in neither tool — phpcs only linted example/, src/, tests/ and PHPStan only analysed src, tests — which is how coverage-guard.php's nonstandard (tab) indentation went unnoticed before #41. Adds the file to both; it passes both checks with no code changes needed.

Checked for similar gaps: the only other PHP outside the tools' scope is example/symfony (deliberately excluded, documented in phpcs.xml.dist) and example/plain-php, which phpcs lints but PHPStan intentionally does not analyse.

Co-Authored-By: Claude Code

Root-level config files were listed in neither tool, which is how the
file's nonstandard indentation went unnoticed.

Co-Authored-By: Claude Code
@janedbal
janedbal requested a review from JanTvrdik July 17, 2026 13:20
@JanTvrdik
JanTvrdik merged commit b0427f5 into master Jul 17, 2026
4 checks passed
@JanTvrdik
JanTvrdik deleted the cover-config-files-in-checks branch July 17, 2026 13:39
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