This project contains the coding standard rules for the Innmind organization.
composer require --dev innmind/coding-standard
Create a file .php_cs.dist
at the root of the repository with the following content:
<?php
return \Innmind\CodingStandard\CodingStandard::config(['src', 'tests']);
You can then run vendor/bin/php-cs-fixer fix
to fix the code.