forked from PHP-CS-Fixer/PHP-CS-Fixer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug PHP-CS-Fixer#5017 PhpdocTrimConsecutiveBlankLineSeparationFixer -…
… must run after AlignMultilineCommentFixer (kubawerlos) This PR was merged into the 2.15 branch. Discussion ---------- PhpdocTrimConsecutiveBlankLineSeparationFixer - must run after AlignMultilineCommentFixer Commits ------- 556c371 PhpdocTrimConsecutiveBlankLineSeparationFixer - must run after AlignMultilineCommentFixer
- Loading branch information
Showing
5 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ation/priority/align_multiline_comment,phpdoc_trim_consecutive_blank_line_separation.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--TEST-- | ||
Integration of fixers: align_multiline_comment,phpdoc_trim_consecutive_blank_line_separation. | ||
--RULESET-- | ||
{"align_multiline_comment": true, "phpdoc_trim_consecutive_blank_line_separation": true} | ||
--EXPECT-- | ||
<?php | ||
/** | ||
* foo | ||
* | ||
* bar | ||
*/ | ||
|
||
--INPUT-- | ||
<?php | ||
/** | ||
* foo | ||
* | ||
|
||
* bar | ||
*/ |