.php_cs
<?php
$finder = PhpCsFixer\Finder::create()
->files()
->in(__DIR__)
->exclude('vendor')
->notName("*.txt")
->name('*.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'no_alternative_syntax' => true
])
->setFinder($finder);