Skip to content

Commit 95e33ed

Browse files
authored
Simplify PHP CS Fixer config
1 parent 3ee310f commit 95e33ed

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)