Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function shouldCreatedPHPMappingDriver() |
||
36 | { |
||
37 | /** @var PHPDriver $mappingDriver */ |
||
38 | $mappingDriver = $this->createMock(PHPDriver::class); |
||
39 | |||
40 | $mappingDriver->method('getLocator')->willReturn($this->createMock(FileLocator::class)); |
||
|
|||
41 | |||
42 | /** @var MappingPHPDriver $rdmMappingDriver */ |
||
43 | $rdmMappingDriver = $this->driverFactory->createRDMMappingDriver($mappingDriver); |
||
44 | |||
45 | $this->assertInstanceOf(MappingPHPDriver::class, $rdmMappingDriver); |
||
46 | } |
||
49 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.