update standards

This commit is contained in:
synox 2019-03-11 19:43:39 +07:00
parent e6c59280e3
commit b2e91089d3

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