| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ClassMetadataInfoTest extends TestCase |
||
| 10 | { |
||
| 11 | public function testExtendingClassWithOldSignatureStillWorks() : void |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @runInSeparateProcess |
||
| 24 | * @group legacy |
||
| 25 | * @expectedDeprecation Doctrine\ORM\Mapping\ClassMetadataInfo is deprecated since doctrine/orm 2.x and will be removed in 3.0. Use Doctrine\ORM\Mapping\ClassMetadata instead. |
||
| 26 | */ |
||
| 27 | public function testTheClassIsDeprecated() : void |
||
| 30 | } |
||
| 31 | |||
| 32 | |||
| 33 | public function whatever(ClassMetadata $cm) : bool |
||
| 38 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.