Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
12 | public function testBuild() |
||
13 | { |
||
14 | $containerBuilder = $this->createMock(ContainerBuilder::class); |
||
|
|||
15 | $containerBuilder |
||
16 | ->expects($this->once()) |
||
17 | ->method('addCompilerPass') |
||
18 | ->with($this->isInstanceOf(DynamicServiceCompilerPass::class)) |
||
19 | ; |
||
20 | $silRouteSecurityBundle = new SilRouteSecurityBundle(); |
||
21 | $this->assertNull($silRouteSecurityBundle->build($containerBuilder)); |
||
22 | } |
||
24 |
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.