empty_loop_body,braces.test 197 B

1234567891011121314
  1. --TEST--
  2. Integration of fixers: empty_loop_body,braces.
  3. --RULESET--
  4. {"empty_loop_body": {"style": "braces"}, "braces": true}
  5. --EXPECT--
  6. <?php
  7. while (foo4()) {
  8. }
  9. --INPUT--
  10. <?php
  11. while (foo4()) ;