mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-25 05:08:32 +00:00
Change all content from rst format to markdown and correct spelling/grammar
This commit is contained in:
23
docs/source/development/code-quality.md
Normal file
23
docs/source/development/code-quality.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Code style, code quality and other tools
|
||||
|
||||
## PHP-cs-fixer
|
||||
|
||||
For development, you will also have to install:
|
||||
|
||||
- [php-cs-fixer ](https://cs.symfony.com/)
|
||||
|
||||
We also encourage you to use tools like [phpstan ](https://phpstan.org) and [rector ](https://getrector.com).
|
||||
|
||||
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 ](https://www.jetbrains.com/help/phpstorm/using-phpunit-framework.html#run_phpunit_tests).
|
||||
|
||||
## Execute rector
|
||||
|
||||
symfony composer exec rector -- process
|
||||
Reference in New Issue
Block a user