2019-03-11 12:43:39 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
2019-03-11 12:45:22 +00:00
|
|
|
->exclude('backend-libs')
|
2019-03-11 12:43:39 +00:00
|
|
|
->in('src')
|
|
|
|
;
|
|
|
|
|
|
|
|
return PhpCsFixer\Config::create()
|
|
|
|
->setRules([
|
|
|
|
'@PSR2' => true,
|
|
|
|
'lowercase_constants' => true,
|
|
|
|
'braces' => ['position_after_functions_and_oop_constructs' => 'same']
|
|
|
|
])
|
|
|
|
->setFinder($finder)
|
|
|
|
;
|