array_indentation,align_multiline_comment.test 473 B

12345678910111213141516171819202122232425
  1. --TEST--
  2. Integration of fixers: array_indentation,align_multiline_comment.
  3. --RULESET--
  4. {"array_indentation": true, "align_multiline_comment": {"comment_type": "all_multiline"}}
  5. --EXPECT--
  6. <?php
  7. $array = [
  8. /*
  9. * Aligned with the values
  10. */
  11. 'this' => 'is a bug',
  12. 'but' => 'this is too',
  13. ];
  14. --INPUT--
  15. <?php
  16. $array = [
  17. /*
  18. * Aligned with the values
  19. */
  20. 'this' => 'is a bug',
  21. 'but' => 'this is too',
  22. ];