Skip to content

Commit

Permalink
Use Slevomat sniffs instead of TypeHinting
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll committed Nov 8, 2020
1 parent 3c6f223 commit a2cbf5d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 263 deletions.
138 changes: 0 additions & 138 deletions Symfony/Sniffs/Commenting/TypeHintingSniff.php

This file was deleted.

30 changes: 0 additions & 30 deletions Symfony/Tests/Commenting/TypeHintingUnitTest.inc

This file was deleted.

30 changes: 0 additions & 30 deletions Symfony/Tests/Commenting/TypeHintingUnitTest.inc.fixed

This file was deleted.

65 changes: 0 additions & 65 deletions Symfony/Tests/Commenting/TypeHintingUnitTest.php

This file was deleted.

2 changes: 2 additions & 0 deletions Symfony/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@
<message>There should always be a description, followed by a blank line, before the tags of a class comment.</message>
</rule>

<rule ref="SlevomatCodingStandard.PHP.TypeCast" />
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints" />
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators" />
<rule ref="SlevomatCodingStandard.ControlStructures.RequireYodaComparison" />
<rule ref="SlevomatCodingStandard.Classes.RequireSingleLineMethodSignature">
Expand Down

0 comments on commit a2cbf5d

Please sign in to comment.