control_structure_braces,braces_position.test 220 B

123456789101112131415
  1. --TEST--
  2. Integration of fixers: control_structure_braces,braces_position.
  3. --RULESET--
  4. {"control_structure_braces": true, "braces_position": true}
  5. --EXPECT--
  6. <?php
  7. if (true) {
  8. foo();
  9. }
  10. --INPUT--
  11. <?php
  12. if (true) foo();