new_with_parentheses,class_definition.test 279 B

1234567891011
  1. --TEST--
  2. Integration of fixers: new_with_parentheses,class_definition.
  3. --RULESET--
  4. {"new_with_parentheses": 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 {};