1
0
Fork 0

Fix: Keep rules sorted

pull/7175/head
Andreas Möller 2018-03-09 08:17:31 +01:00
parent 4d8b9be5b6
commit 6f06b45398
No known key found for this signature in database
GPG Key ID: 9FB20A0BAF60E11F
1 changed files with 2 additions and 2 deletions

View File

@ -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,