Browse Source

chore: NewWithParenthesesFixer - create TODO to change the default configuration to match PER-CS2 (#8148)

Dariusz Rumiński 7 months ago
parent
commit
d61006b658
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Fixer/Operator/NewWithParenthesesFixer.php

+ 1 - 1
src/Fixer/Operator/NewWithParenthesesFixer.php

@@ -89,7 +89,7 @@ final class NewWithParenthesesFixer extends AbstractFixer implements Configurabl
                 ->getOption(),
             (new FixerOptionBuilder('anonymous_class', 'Whether anonymous classes should be followed by parentheses.'))
                 ->setAllowedTypes(['bool'])
-                ->setDefault(true)
+                ->setDefault(true) // @TODO 4.0: set to `false`
                 ->getOption(),
         ]);
     }