Fix: Keep rules sorted
parent
4d8b9be5b6
commit
6f06b45398
4
.php_cs
4
.php_cs
|
@ -24,12 +24,12 @@ return PhpCsFixer\Config::create()
|
||||||
->setRiskyAllowed(true)
|
->setRiskyAllowed(true)
|
||||||
->setRules(array(
|
->setRules(array(
|
||||||
'@PSR2' => true,
|
'@PSR2' => true,
|
||||||
|
'array_syntax' => array('syntax' => 'long'),
|
||||||
'binary_operator_spaces' => true,
|
'binary_operator_spaces' => true,
|
||||||
'blank_line_before_return' => true,
|
'blank_line_before_return' => true,
|
||||||
'cast_spaces' => true,
|
'cast_spaces' => true,
|
||||||
'header_comment' => array('header' => $header),
|
'header_comment' => array('header' => $header),
|
||||||
'include' => true,
|
'include' => true,
|
||||||
'array_syntax' => array('syntax' => 'long'),
|
|
||||||
'method_separation' => true,
|
'method_separation' => true,
|
||||||
'no_blank_lines_after_class_opening' => true,
|
'no_blank_lines_after_class_opening' => true,
|
||||||
'no_blank_lines_after_phpdoc' => true,
|
'no_blank_lines_after_phpdoc' => true,
|
||||||
|
@ -51,8 +51,8 @@ return PhpCsFixer\Config::create()
|
||||||
'phpdoc_trim' => true,
|
'phpdoc_trim' => true,
|
||||||
'phpdoc_types' => true,
|
'phpdoc_types' => true,
|
||||||
'psr0' => true,
|
'psr0' => true,
|
||||||
'single_blank_line_before_namespace' => true,
|
|
||||||
'short_scalar_cast' => true,
|
'short_scalar_cast' => true,
|
||||||
|
'single_blank_line_before_namespace' => true,
|
||||||
'standardize_not_equals' => true,
|
'standardize_not_equals' => true,
|
||||||
'ternary_operator_spaces' => true,
|
'ternary_operator_spaces' => true,
|
||||||
'trailing_comma_in_multiline_array' => true,
|
'trailing_comma_in_multiline_array' => true,
|
||||||
|
|
Loading…
Reference in New Issue