Skip to content

Commit 958e0a5

Browse files
committed
Fix CS
1 parent 110be45 commit 958e0a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced'],
1717
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
1818
'php_unit_strict' => true,
19+
// @todo: when we'll support only PHP 8.0 and upper, we can enable `parameters` for `trailing_comma_in_multiline` rule
20+
'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['array_destructuring', 'arrays', 'match'/* , 'parameters' */]],
1921
])
2022
->setRiskyAllowed(true)
2123
->setFinder($finder);

0 commit comments

Comments
 (0)