Added array_syntax fixer

This commit is contained in:
erickskrauch 2018-08-07 12:07:27 +03:00
parent 2480f7ba46
commit 8ee5979288
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -7,6 +7,9 @@ class Rules {
private static $rules = [ private static $rules = [
'@PSR2' => true, '@PSR2' => true,
'array_syntax' => [
'syntax' => 'short',
],
'binary_operator_spaces' => true, 'binary_operator_spaces' => true,
'braces' => [ 'braces' => [
'position_after_functions_and_oop_constructs' => 'same', 'position_after_functions_and_oop_constructs' => 'same',