Skip to content

Commit 28e254f

Browse files
committed
Update PhpCsFixer config
1 parent 391a1dc commit 28e254f

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,9 @@
66

77
return (new PhpCsFixer\Config())
88
->setRules([
9+
'@PHPUnit75Migration:risky' => true,
910
'@Symfony' => true,
1011
'@Symfony:risky' => true,
11-
'@PHPUnit75Migration:risky' => true,
12-
'php_unit_dedicate_assert' => ['target' => '5.6'],
13-
'array_syntax' => ['syntax' => 'short'],
14-
'fopen_flags' => false,
15-
'protected_to_private' => false,
16-
'native_constant_invocation' => true,
17-
'combine_nested_dirname' => true,
18-
'list_syntax' => ['syntax' => 'short'],
19-
'ordered_imports' => [
20-
'imports_order' => ['const', 'class', 'function'],
21-
],
2212
])
2313
->setRiskyAllowed(true)
2414
->setFinder(
@@ -28,6 +18,5 @@
2818
->notPath('#/Fixtures/#')
2919
->notPath('#/app/var/#')
3020
->notPath('#/var/cache/#')
31-
->notPath('Turbo/Attribute/Broadcast.php') // Need https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4702
3221
)
3322
;

0 commit comments

Comments
 (0)