class_definition,braces.test 256 B

12345678910111213141516171819202122
  1. --TEST--
  2. Integration of fixers: class_definition,braces.
  3. --RULESET--
  4. {"class_definition": true, "braces": {"position_after_functions_and_oop_constructs": "same"}}
  5. --EXPECT--
  6. <?php
  7. class Foo {
  8. }
  9. class Bar {
  10. }
  11. --INPUT--
  12. <?php
  13. class Foo{
  14. }
  15. class Bar
  16. {
  17. }