Skip to content

Commit 5aa38c5

Browse files
committed
update .php_cs.dist configuration
1 parent 0f84f53 commit 5aa38c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.php_cs.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ return PhpCsFixer\Config::create()
1515
->setRules(array(
1616
'@Symfony' => true,
1717
'@Symfony:risky' => true,
18+
'array_syntax' => array('syntax' => 'long'),
1819
'combine_consecutive_unsets' => true,
20+
// one should use PHPUnit methods to set up expected exception instead of annotations
21+
'general_phpdoc_annotation_remove' => array('expectedException', 'expectedExceptionMessage', 'expectedExceptionMessageRegExp'),
1922
'header_comment' => array('header' => $header),
20-
'array_syntax' => array('syntax' => 'long'),
2123
'no_extra_consecutive_blank_lines' => array('break', 'continue', 'extra', 'return', 'throw', 'use', 'parenthesis_brace_block', 'square_brace_block', 'curly_brace_block'),
2224
'no_useless_else' => true,
2325
'no_useless_return' => true,

0 commit comments

Comments
 (0)