A Github action to support PHP CodeSniffer checks.
Currently only PHP 7.4 is supported, however support for other PHP versions is planned.
- check_path - path for file/folder to be checked with PHPCS. E.g.
./app/
, defaults to.
. - phpcs_path - Path to PHPCS binary. E.g.
./vendor/bin/phpcs
, defaults tophpcs
. - phpcs_standard - PHPCS standard to use. E.g.
PSR12
.