Based on Doctrine Coding Standard https://github.com/doctrine/coding-standard
- Require this project as composer dev dependency:
composer require --dev cdn77/coding-standard
- Reference this coding standard in your
phpcs.xml.dist
(check out the one used in this project):
<rule ref="Cdn77" />