Skip to content

Commit a2cbf5d

Browse files
committed
Use Slevomat sniffs instead of TypeHinting
1 parent 3c6f223 commit a2cbf5d

File tree

5 files changed

+2
-263
lines changed

5 files changed

+2
-263
lines changed

Symfony/Sniffs/Commenting/TypeHintingSniff.php

Lines changed: 0 additions & 138 deletions
This file was deleted.

Symfony/Tests/Commenting/TypeHintingUnitTest.inc

Lines changed: 0 additions & 30 deletions
This file was deleted.

Symfony/Tests/Commenting/TypeHintingUnitTest.inc.fixed

Lines changed: 0 additions & 30 deletions
This file was deleted.

Symfony/Tests/Commenting/TypeHintingUnitTest.php

Lines changed: 0 additions & 65 deletions
This file was deleted.

Symfony/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@
113113
<message>There should always be a description, followed by a blank line, before the tags of a class comment.</message>
114114
</rule>
115115

116+
<rule ref="SlevomatCodingStandard.PHP.TypeCast" />
117+
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints" />
116118
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators" />
117119
<rule ref="SlevomatCodingStandard.ControlStructures.RequireYodaComparison" />
118120
<rule ref="SlevomatCodingStandard.Classes.RequireSingleLineMethodSignature">

0 commit comments

Comments
 (0)