Skip to content

Commit

Permalink
Add rule to detect implicit nullable default values
Browse files Browse the repository at this point in the history
  • Loading branch information
TRowbotham committed May 6, 2024
1 parent bc3b15b commit 9e163bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<rule ref="SlevomatCodingStandard.Functions.StrictCall" />
<rule ref="SlevomatCodingStandard.Functions.StaticClosure" />
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators" />
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue" />

<!-- Cleaning - detecting dead code -->
<rule ref="SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure" />
Expand Down

0 comments on commit 9e163bc

Please sign in to comment.