-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #4109 NoBlankLines*: fix removing lines consisting only of spaces…
… (kubawerlos, keradus) This PR was squashed before being merged into the 2.12 branch (closes #4109). Discussion ---------- NoBlankLines*: fix removing lines consisting only of spaces We have 3 `NoBlankLines*` fixers and they behave differently for lines consisting only of spaces: - `NoBlankLinesAfterClassOpeningFixer` - removes line of spaces only when next line is indented - `NoBlankLinesAfterPhpdocFixer` - same as above - `NoBlankLinesBeforeNamespaceFixer` - removes indentation of the next line What would be the proper behaviour (apart of removing indentation of next line what is obviously a bug) - to keep lines consisting only of spaces or to remove them? _Tests are to demonstrate the problem, obviously have to be fixed as well._ Commits ------- 7df251c NoBlankLines*: fix removing lines consisting only of spaces
- Loading branch information
Showing
8 changed files
with
94 additions
and
10 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
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
File renamed without changes.