Skip to content

Commit 2115c12

Browse files
committed
minor symfony#57941 DX: simplify PHP CS Fixer config towards v3.62 (keradus)
This PR was merged into the 7.2 branch. Discussion ---------- DX: simplify PHP CS Fixer config towards v3.62 | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | no | License | MIT following symfony#57901 Commits ------- 004818d DX: simplify PHP CS Fixer config towards v3.62
2 parents e03e868 + 004818d commit 2115c12

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.php-cs-fixer.dist.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@
3232
'@Symfony:risky' => true,
3333
'protected_to_private' => false,
3434
'header_comment' => ['header' => $fileHeaderComment],
35-
// TODO: Remove once the "compiler_optimized" set includes "sprintf"
36-
'native_function_invocation' => ['include' => ['@compiler_optimized', 'sprintf'], 'scope' => 'namespaced', 'strict' => true],
37-
'nullable_type_declaration' => true,
38-
'nullable_type_declaration_for_default_null_value' => true,
3935
'trailing_comma_in_multiline' => ['elements' => ['arrays', 'match', 'parameters']],
40-
'new_with_parentheses' => ['anonymous_class' => false],
4136
])
4237
->setRiskyAllowed(true)
4338
->setFinder(

0 commit comments

Comments
 (0)