Skip to content

Commit e25bedc

Browse files
committed
wip
1 parent f57018c commit e25bedc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
return (new PhpCsFixer\Config())
1010
->setRules([
1111
'@PER-CS' => true,
12-
'trailing_comma_in_multiline' => ['elements' => ['arguments', 'array_destructuring', 'arrays']], // For PHP 7.4 compatibility
12+
13+
// Due to historical reasons we have to keep this.
14+
// Docs parser expects comment right after php tag.
15+
'blank_line_after_opening_tag' => false,
16+
17+
// For PHP 7.4 compatibility.
18+
'trailing_comma_in_multiline' => [
19+
'elements' => ['arguments', 'array_destructuring', 'arrays']
20+
],
1321
])
1422
->setFinder($finder);

0 commit comments

Comments
 (0)