Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function it_should_set_parameters_correctly(ContainerBuilder $container, ParameterBag $parameterBag) |
||
18 | { |
||
19 | $parameterBag->resolveValue(Argument::any())->will(function ($args) { |
||
20 | return $args[0]; |
||
21 | }); |
||
22 | $parameterBag->unescapeValue(Argument::any())->will(function ($args) { |
||
23 | return $args[0]; |
||
24 | }); |
||
25 | |||
26 | $container->getParameterBag()->willReturn($parameterBag); |
||
|
|||
27 | $container->fileExists(Argument::any())->willReturn(true); |
||
28 | $container->setParameter(Argument::any(), Argument::any())->will(function () { |
||
29 | }); |
||
30 | $container->setDefinition(Argument::any(), Argument::any())->will(function () { |
||
31 | }); |
||
32 | $container->getReflectionClass(Argument::type('string'))->will(function ($args) { |
||
33 | return new \ReflectionClass($args[0]); |
||
34 | }); |
||
35 | $container->addResource(Argument::any())->willReturn(null); |
||
36 | $container->removeBindings(Argument::any())->willReturn(null); |
||
37 | |||
38 | $container->removeBindings(Argument::any())->will(function () { |
||
39 | }); |
||
40 | |||
41 | $configs = array(); |
||
42 | $this->load($configs, $container); |
||
43 | } |
||
44 | } |
||
45 |
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.