Skip to content

Commit

Permalink
Updated php-cs settings, keep sorted rules
Browse files Browse the repository at this point in the history
  • Loading branch information
thePanz committed Jan 25, 2018
1 parent 6e8524a commit bfc3680
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .php_cs.dist
Expand Up @@ -7,8 +7,9 @@ return PhpCsFixer\Config::create()
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'class_attributes_separation' => ['elements' => ['const', 'method', 'property']],
'combine_consecutive_unsets' => true,
# // one should use PHPUnit methods to set up expected exception instead of annotations
// one should use PHPUnit methods to set up expected exception instead of annotations
'general_phpdoc_annotation_remove' => ['expectedException', 'expectedExceptionMessage', 'expectedExceptionMessageRegExp'],
'heredoc_to_nowdoc' => true,
'list_syntax' => ['syntax' => 'long'],
Expand All @@ -19,14 +20,13 @@ return PhpCsFixer\Config::create()
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
'class_attributes_separation' => ['elements' => ['const', 'method', 'property']],
'ordered_imports' => true,
# 'php_unit_strict' => true,
# 'php_unit_test_class_requires_covers' => true,
// 'php_unit_strict' => true,
// 'php_unit_test_class_requires_covers' => true,
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_order' => true,
'semicolon_after_instruction' => true,
# 'strict_comparison' => true,
// 'strict_comparison' => true,
'strict_param' => true,
])
->setFinder(
Expand Down

0 comments on commit bfc3680

Please sign in to comment.