This package is intended to centralize all PHP CS Fixer rules.
You can install the package via composer:
composer require melhorenvio/php-cs-fixer
use Melhorenvio\PhpCsFixer\Style;
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$finder = Finder::create()
->in([
__DIR__.'/src',
]);
$style = new Style($finder, new Config);
return $style->rules([
'your-rule' => true
]);
Area for links that help you configure PHP CS Fixer on the developers' machine