issue_3879.test 521 B

123456789101112131415161718192021222324252627
  1. --TEST--
  2. Integration of fixers: align_multiline_comment and PHPDoc rules.
  3. --RULESET--
  4. {"align_multiline_comment": true, "@PhpCsFixer": true}
  5. --EXPECT--
  6. <?php
  7. /**
  8. * This is a broken phpdoc.
  9. *
  10. * @param string $str the next line has no *
  11. *
  12. * @return int the number of runs needed to fix this is 2 :(
  13. */
  14. function fixMe($str) {}
  15. --INPUT--
  16. <?php
  17. /**
  18. * This is a broken phpdoc
  19. *
  20. * @param string $str The next line has no *.
  21. * @return int The number of runs needed to fix this is 2 :( .
  22. */
  23. function fixMe($str) {}