This commit is contained in:
resurtm
2017-01-12 00:48:25 +06:00
parent 66ded8cc22
commit e221e723f0
3 changed files with 27 additions and 9 deletions

21
.php_cs.dist Normal file
View 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);