Skip to content

Commit 825d83e

Browse files
Merge #674
674: Fix CS r=brunoocasali a=norkunas # Pull Request ## Related issue Fixes #<issue_number> ## What does this PR do? - ... ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [ ] Have you read the contributing guidelines? - [ ] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Tomas <[email protected]>
2 parents 110be45 + 958e0a5 commit 825d83e

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)