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