single_space_after_construct,braces.test 258 B

12345678910111213141516171819
  1. --TEST--
  2. Integration of fixers: single_space_after_construct,braces.
  3. --RULESET--
  4. { "single_space_after_construct": true, "braces": {"position_after_control_structures": "next"}}
  5. --EXPECT--
  6. <?php
  7. if (true)
  8. {
  9. }
  10. else
  11. {
  12. }
  13. --INPUT--
  14. <?php
  15. if (true) {
  16. }
  17. else {
  18. }