Skip to content

Commit 66de96c

Browse files
committed
Disallow trailing comma after multiline heredoc
1 parent 4170e75 commit 66de96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
'@PHPUnit84Migration:risky' => true,
2121

2222
// needed for PHP 7.x
23-
'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['arrays', 'match']],
23+
'trailing_comma_in_multiline' => ['after_heredoc' => false, 'elements' => ['arrays', 'match']],
2424

2525
'php_unit_construct' => true,
2626
'php_unit_dedicate_assert' => ['target' => 'newest'],

0 commit comments

Comments
 (0)