Skip to content

Add PHPCS tooling - #16

Merged
kadamwhite merged 9 commits into
mainfrom
phpcs
Oct 1, 2026
Merged

kadamwhite merged 9 commits into
mainfrom
phpcs

Conversation

@kadamwhite

@kadamwhite kadamwhite commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Adds

  • A composer phpcs action which runs the HM-Minimum sniffs
  • An npm run lint:php alias for the same
  • CI to run PHPCS against 8.2 – 8.4 in pull requests

Fixes several PHPCS errors noted by these sniffs (which were false positives related to escaping that was separated from the values' output).

@kadamwhite
kadamwhite requested a review from pamprn09 October 1, 2026 18:03
@kadamwhite

Copy link
Copy Markdown
Contributor Author

Flags a set of escaping issues in render.php which are worth addressing. Will fix those as part of this PR

@kadamwhite
kadamwhite merged commit 70a0bb7 into main Oct 1, 2026
3 checks passed
@kadamwhite
kadamwhite deleted the phpcs branch October 1, 2026 19:04
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