Create .php_cs.dist
This commit is contained in:
parent
16b11dece8
commit
6a70eea6a1
14
.php_cs.dist
Normal file
14
.php_cs.dist
Normal 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);
|
Loading…
Reference in a new issue