|
@ -11,11 +11,13 @@ $paths = [ |
|
|
__FILE__, |
|
|
__FILE__, |
|
|
BASE."RoboFile.php", |
|
|
BASE."RoboFile.php", |
|
|
BASE."lib", |
|
|
BASE."lib", |
|
|
|
|
|
BASE."perf", |
|
|
BASE."tests", |
|
|
BASE."tests", |
|
|
]; |
|
|
]; |
|
|
$rules = [ |
|
|
$rules = [ |
|
|
'@PSR2' => true, |
|
|
'@PSR2' => true, |
|
|
'braces' => ['position_after_functions_and_oop_constructs' => "same"], |
|
|
'braces' => ['position_after_functions_and_oop_constructs' => "same"], |
|
|
|
|
|
'function_declaration' => ['closure_function_spacing' => "none"], |
|
|
]; |
|
|
]; |
|
|
|
|
|
|
|
|
$finder = \PhpCsFixer\Finder::create(); |
|
|
$finder = \PhpCsFixer\Finder::create(); |
|
|