visibility_required,class_attributes_separation.test 309 B

12345678910111213141516
  1. --TEST--
  2. Integration of fixers: visibility_required,class_attributes_separation.
  3. --RULESET--
  4. {"visibility_required": true, "class_attributes_separation": {"elements": {"property": "none"}}}
  5. --EXPECT--
  6. <?php
  7. class Foo {
  8. /* Bar */
  9. private $bar;
  10. }
  11. --INPUT--
  12. <?php
  13. class Foo {
  14. private /* Bar */ $bar;
  15. }