Add a Github Action to run phpcs (coding standards) #5245
Closed
Description
Now that we have GHA up and running for Simpletest, we should also add a linter action using phpcs.
There's a related meta issue, but that one doesn't seem appropriate, as it's mostly about Zen.CI and about fixing standards in existing code.
What we need:
- run phpcs in a GHA (automated job), showing annotations
- run phpcs with our custom standards
- run phpcs only against added/changed code in a PR, as we have a lot of legacy code not conforming yet
Turned out that this is feasible with an existing action
Related: