Skip to content

Commit 22ce2c5

Browse files
committed
Use Slevomat sniffs instead of TypeHinting
1 parent 3552c9b commit 22ce2c5

File tree

5 files changed

+2
-263
lines changed

5 files changed

+2
-263
lines changed

Symfony/Sniffs/Commenting/TypeHintingSniff.php

-138
This file was deleted.

Symfony/Tests/Commenting/TypeHintingUnitTest.inc

-30
This file was deleted.

Symfony/Tests/Commenting/TypeHintingUnitTest.inc.fixed

-30
This file was deleted.

Symfony/Tests/Commenting/TypeHintingUnitTest.php

-65
This file was deleted.

Symfony/ruleset.xml

+2
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)