code quality
testing
this bundle assures code quality using the following methods
php-cs-fixer :
composer run-phpcsf
symfony coding standard :
composer run-phpcs
phpstan (level 8) :
composer run-phpstan
phpunit:
composer run-phpunit
(no coverage) orcomposer run-phpunitc
(including coverage)infection mutation testing (MSI >= 98%):
composer run-infection
Note
$ composer run-infection
uses the threads option for mac os
documentation
to build this bundle’s documentation run:
$ composer run-sphinx
and find the result in the
./build/docs
directorymetrics
to view this bundle’s metrics run:
$ composer run-phpmetrics
and find the result in the
./build/phpmetrics
directoryTip
for convenience the
composer run-all
script executes all aforementioned commands;one can use this as a git pre-commit hook if you’d like to contribute.