cs wip
This commit is contained in:
21
.php_cs.dist
Normal file
21
.php_cs.dist
Normal file
@ -0,0 +1,21 @@
|
||||
<?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);
|
||||
Reference in New Issue
Block a user