statement_indentation,heredoc_indentation.test 344 B

12345678910111213141516171819202122232425
  1. --TEST--
  2. Integration of fixers: statement_indentation,heredoc_indentation.
  3. --RULESET--
  4. {"statement_indentation": true, "heredoc_indentation": true}
  5. --REQUIREMENTS--
  6. {"php": 70300}
  7. --EXPECT--
  8. <?php
  9. if (true) {
  10. $foo === <<<'FOO'
  11. bar
  12. baz
  13. FOO;
  14. }
  15. --INPUT--
  16. <?php
  17. if (true) {
  18. $foo === <<<'FOO'
  19. bar
  20. baz
  21. FOO;
  22. }