Code quality good practices
These are the tools chosen to ensure quality in our code
Several tools should be used to ensure the code quality.
The first group are the tools integrated in the IDE:
- syntax checking
- phpunit (Unit testing + code coverage)
- phpcs (Code sniffer)
- phpmd (Mess detector)
To broaden the quality checks, we also use Sonar.
Ruleset should be provided for all these tools.
Also profiling should be done once in a while (with xdebug and the custom PHPDS profiler)