You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .php-cs-fixer-rules.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
return [
11
11
// Basic PER Coding Style 2.0 ruleset plus our overrides for it, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/ruleSets/PER-CS2.0.rst
'new_with_parentheses' => ['anonymous_class' => false], // @todo remove after migration to PHP-CS-Fixer v4.0, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8148
13
+
'new_with_parentheses' => ['anonymous_class' => true], // It will be changed in PHP-CS-Fixer v4.0 (but we want to enforce it), see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8148
0 commit comments