Files
chill-bundles/docs/source/development/code-quality.md

680 B

Code style, code quality and other tools

PHP-cs-fixer

For development, you will also have to install:

We also encourage you to use tools like phpstan and rector .

For running php-cs-fixer:

symfony composer php-cs-fixer

Execute tests

symfony composer exec phpunit -- /path/to_your_test.php

Note that IDE like PhpStorm should be able to run tests, even KernelTestcase or WebTestCase, from within their interfaces .

Execute rector

symfony composer exec rector -- process