Skip to content

Commit

Permalink
Fixed bug #3124 : PSR-12 not reporting error for empty lines with onl…
Browse files Browse the repository at this point in the history
…y whitespace
  • Loading branch information
gsherwood committed Sep 24, 2020
1 parent b50a9a3 commit edafaae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
-- Thanks to Juliette Reinders Folmer for the patch
- Fixed bug #3099 : Squiz.WhiteSpace.OperatorSpacing false positive when exiting with negative number
-- Thanks to Sergei Morozov for the patch
- Fixed bug #3124 : PSR-12 not reporting error for empty lines with only whitespace
</notes>
<contents>
<dir name="/">
Expand Down
6 changes: 1 addition & 5 deletions src/Standards/PSR12/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@

<!-- There MUST NOT be trailing whitespace at the end of lines.
Blank lines MAY be added to improve readability and to indicate related blocks of code except where explicitly forbidden. -->
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties>
<property name="ignoreBlankLines" value="true"/>
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile">
<severity>0</severity>
</rule>
Expand Down

0 comments on commit edafaae

Please sign in to comment.