update standards
This commit is contained in:
parent
e6c59280e3
commit
b2e91089d3
1 changed files with 15 additions and 0 deletions
15
.php_cs.dist
Normal file
15
.php_cs.dist
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$finder = PhpCsFixer\Finder::create()
|
||||||
|
->exclude('src/backend-libs/')
|
||||||
|
->in('src')
|
||||||
|
;
|
||||||
|
|
||||||
|
return PhpCsFixer\Config::create()
|
||||||
|
->setRules([
|
||||||
|
'@PSR2' => true,
|
||||||
|
'lowercase_constants' => true,
|
||||||
|
'braces' => ['position_after_functions_and_oop_constructs' => 'same']
|
||||||
|
])
|
||||||
|
->setFinder($finder)
|
||||||
|
;
|
Loading…
Reference in a new issue