Skip to content

Commit

Permalink
Use Slevomat.ControlStructures.RequireYodaComparison instead of YodaC…
Browse files Browse the repository at this point in the history
…onditions
  • Loading branch information
mmoll committed Nov 8, 2020
1 parent 8f6df6d commit 9b5fae7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 169 deletions.
97 changes: 0 additions & 97 deletions Symfony/Sniffs/ControlStructure/YodaConditionsSniff.php

This file was deleted.

9 changes: 0 additions & 9 deletions Symfony/Tests/ControlStructure/YodaConditionsUnitTest.inc

This file was deleted.

63 changes: 0 additions & 63 deletions Symfony/Tests/ControlStructure/YodaConditionsUnitTest.php

This file was deleted.

1 change: 1 addition & 0 deletions Symfony/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,5 @@
</rule>

<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators" />
<rule ref="SlevomatCodingStandard.ControlStructures.RequireYodaComparison" />
</ruleset>

0 comments on commit 9b5fae7

Please sign in to comment.