class_attributes_separation,statement_indentation.test 402 B

123456789101112131415161718192021222324252627
  1. --TEST--
  2. Integration of fixers: class_attributes_separation,statement_indentation.
  3. --RULESET--
  4. {"class_attributes_separation": true, "statement_indentation": true}
  5. --EXPECT--
  6. <?php
  7. class Foo
  8. {
  9. /** 1 */
  10. private $var1;
  11. /** 2 */
  12. private $var2;
  13. /** 3 */
  14. private $var3;
  15. }
  16. --INPUT--
  17. <?php
  18. class Foo
  19. {
  20. /** 1 */
  21. private $var1;/** 2 */private $var2;/** 3 */private $var3;
  22. }