Skip to content

Commit

Permalink
PHPCS: add the Squiz.PHP.NonExecutableCode sniff to the ruleset
Browse files Browse the repository at this point in the history
... which is used for PHPCS itself.
  • Loading branch information
jrfnl committed Oct 29, 2023
1 parent f7ec1f8 commit bbbd75d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"/>
<rule ref="Squiz.Operators.ComparisonOperatorUsage"/>
<rule ref="Squiz.PHP.DisallowInlineIf"/>
<rule ref="Squiz.PHP.NonExecutableCode"/>
<rule ref="Squiz.Scope.MethodScope"/>
<rule ref="Squiz.Strings.ConcatenationSpacing"/>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing"/>
Expand Down

0 comments on commit bbbd75d

Please # to comment.