Provides multiple rule sets for friendsofphp/php-cs-fixer
.
This repository is based on localheinz/php-cs-fixer-config
.
PHP needs to be a minimum version of PHP 7.1.0.
Run
$ composer require --dev twentyfifth/php-cs-fixer-config
Create a configuration file .php_cs.dist
in the root of your project:
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
;
return TwentyFifth\PhpCsFixer\Php71Config::create()
->setFinder($finder)
;