Create .php_cs.dist

This commit is contained in:
Oliver Davies 2019-03-26 21:58:23 +00:00
parent 16b11dece8
commit 6a70eea6a1

14
.php_cs.dist Normal file
View file

@ -0,0 +1,14 @@
<?php
use PhpCsFixer\Config;
use Symfony\Component\Finder\Finder;
$finder = new Finder();
$finder->files()->in('src')->in('tests');
return Config::create()
->setRules([
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder);