wc-smooth-generator icon indicating copy to clipboard operation
wc-smooth-generator copied to clipboard

Run PHPCS in CI

Open Luc45 opened this issue 2 years ago • 0 comments

Changes proposed in this Pull Request:

This PR introduces a GitHub workflow to run PHPCS checks in CI on Push event. This is interesting to have, as PHPCS tests the PHP compatibility with the minimum PHP version required by the project.

How to test the changes in this Pull Request:

  1. Merge this PR to trunk
  2. Push code to a remote branch
  3. Assert it runs PHPCS in CI
  4. Assert that the badge in README.md is as expected.

Changelog entry

Run PHPCS checks in CI

FOR PR REVIEWER ONLY:

  • [ ] I have reviewed that everything is sanitized/escaped appropriately for any SQL or XSS injection possibilities. I made sure Linting is not ignored or disabled.

Luc45 avatar Jun 30 '22 15:06 Luc45