8000 minor #39772 Simplify PHP CS Fixer config (keradus) · symfony/symfony@6fbfaf6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6fbfaf6

Browse files
minor #39772 Simplify PHP CS Fixer config (keradus)
This PR was merged into the 4.4 branch. Discussion ---------- Simplify PHP CS Fixer config | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | same rules, just written in easier way Commits ------- 95e33ed Simplify PHP CS Fixer config
2 parents 9c6381c + 95e33ed commit 6fbfaf6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.php_cs.dist

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,13 @@ if (!file_exists(__DIR__.'/src')) {
66

77
return PhpCsFixer\Config::create()
88
->setRules([
9+
'@PHP71Migration' => true,
10+
'@PHPUnit75Migration:risky' => true,
911
'@Symfony' => true,
1012
'@Symfony:risky' => true,
11-
'@PHPUnit75Migration:risky' => true,
12-
'php_unit_dedicate_assert' => ['target' => '5.6'],
13-
'array_syntax' => ['syntax' => 'short'],
14-
'fopen_flags' => false,
1513
'protected_to_private' => false,
1614
'native_constant_invocation' => true,
17-
'combine_nested_dirname' => true,
1815
'list_syntax' => ['syntax' => 'short'],
19-
'visibility_required' => ['property', 'method', 'const'],
20-
'ternary_to_null_coalescing' => true,
2116
])
2217
->setRiskyAllowed(true)
2318
->setFinder(

0 commit comments

Comments
 (0)
0