This library uses phpunit for automated tests.
phpunit is installed by default via Composer.
To run checks:
$ ./vendor/bin/phpunitThis component uses php-cs-fixer for coding
standards checks, and provides configuration for our selected checks.
php-cs-fixer is installed by default via Composer.
To run checks only:
$ ./vendor/bin/php-cs-fixer fix . -v --diff --dry-runTo have php-cs-fixer attempt to fix problems for you, omit the --dry-run
flag:
$ ./vendor/bin/php-cs-fixer fix . -v --diffIf you allow php-cs-fixer to fix CS issues, please re-run the tests to ensure they pass, and make sure you add and commit the changes after verification.