- Install dependencies via composer
composer install
- Run test
composer test
This component uses phpcs for coding
standards checks, and provides configuration for our selected checks.
phpcs
is installed by default via Composer.
To run checks only:
$ composer cs-check
phpcs
also includes a tool for fixing most CS violations, phpcbf
:
$ composer cs-fix
If you allow phpcbf
to fix CS issues, please re-run the tests to ensure
they pass, and make sure you add and commit the changes after verification.