22 lines
422 B
PHP
22 lines
422 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->exclude([
|
|
'.github',
|
|
'docs',
|
|
'temp',
|
|
'tests',
|
|
'vendor',
|
|
])
|
|
->in(__DIR__);
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@PSR1' => true,
|
|
'@PSR2' => true,
|
|
'@Symfony' => true,
|
|
'concat_space' => ['spacing' => 'one'],
|
|
'phpdoc_no_alias_tag' => [],
|
|
])
|
|
->setFinder($finder);
|