| Total Complexity | 3 |
| Total Lines | 25 |
| 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() : void |
||
| 18 | } |
||
| 19 | |||
| 20 | public function testExtendingClassWithOldSignatureStillWorks() : void |
||
| 29 | } |
||
| 30 | |||
| 31 | public function whatever(ClassMetadata $cm) : bool |
||
| 36 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.