Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class ClassMetadataInfoTest extends TestCase |
||
10 | { |
||
11 | /** |
||
12 | * @group legacy |
||
13 | * @expectedDeprecation Doctrine\ORM\Mapping\ClassMetadataInfo is deprecated since 2.x and will be removed in 3.0. Use Doctrine\ORM\Mapping\ClassMetadata instead. |
||
14 | */ |
||
15 | public function testTheClassIsDeprecated() |
||
16 | { |
||
17 | class_exists(ClassMetadataInfo::class); |
||
18 | } |
||
19 | |||
20 | public function testExtendingClassWithOldSignatureStillWorks() |
||
25 | } |
||
26 | }; |
||
27 | } |
||
28 | |||
29 | public function whatever(ClassMetadata $cm) |
||
33 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.