Skip to content

Commit 6b0275a

Browse files
Renamed whitespacy_lines to no_whitespace_in_blank_lines
1 parent 73d7efb commit 6b0275a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,10 @@ Choose from the list of available fixers:
447447
MUST NOT be a whitespace
448448
before each comma.
449449

450+
* **no_whitespace_in_blank_lines** [@Symfony]
451+
Remove trailing whitespace at
452+
the end of blank lines.
453+
450454
* **not_operator_with_space**
451455
Logical NOT operators (!)
452456
should have leading and
@@ -699,10 +703,6 @@ Choose from the list of available fixers:
699703
MUST be a whitespace after
700704
each comma.
701705

702-
* **whitespacy_lines** [@Symfony]
703-
Remove trailing whitespace at
704-
the end of blank lines.
705-
706706

707707
The ``--dry-run`` option displays the files that need to be
708708
fixed but without actually modifying them:

src/Fixer/Symfony/WhitespacyLinesFixer.php renamed to src/Fixer/Symfony/NoWhitespaceInBlankLinesFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @author Dariusz Rumiński <[email protected]>
1919
*/
20-
final class WhitespacyLinesFixer extends AbstractFixer
20+
final class NoWhitespaceInBlankLinesFixer extends AbstractFixer
2121
{
2222
/**
2323
* {@inheritdoc}

src/RuleSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ final class RuleSet implements RuleSetInterface
111111
'unary_operator_spaces' => true,
112112
'no_unneeded_control_parentheses' => true,
113113
'no_unused_imports' => true,
114-
'whitespacy_lines' => true,
114+
'no_whitespace_in_blank_lines' => true,
115115
),
116116
);
117117

tests/Fixer/Symfony/WhitespacyLinesFixerTest.php renamed to tests/Fixer/Symfony/NoWhitespaceInBlankLinesFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @internal
2020
*/
21-
final class WhitespacyLinesFixerTest extends AbstractFixerTestCase
21+
final class NoWhitespaceInBlankLinesFixerTest extends AbstractFixerTestCase
2222
{
2323
/**
2424
* @dataProvider provideCases

0 commit comments

Comments
 (0)