new_with_braces,class_definition.test 269 B

1234567891011
  1. --TEST--
  2. Integration of fixers: new_with_braces,class_definition.
  3. --RULESET--
  4. {"new_with_braces": true, "class_definition": {"space_before_parenthesis": true}}
  5. --EXPECT--
  6. <?php
  7. return new class () implements Foo {};
  8. --INPUT--
  9. <?php
  10. return new class implements Foo {};