mirror of
https://github.com/elyby/php-code-style.git
synced 2024-12-22 21:19:52 +05:30
Added array_syntax fixer
This commit is contained in:
parent
2480f7ba46
commit
8ee5979288
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user