Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function testOptionalBlocksShouldNotSuppressLogicExceptions() |
||
44 | { |
||
45 | $this->expectExceptionMessage('Variable "unknown_variable" does not exist'); |
||
46 | |||
47 | $this->request |
||
48 | ->method('getAttribute') |
||
49 | ->with('throw_logic_exception') |
||
50 | ->willReturn('y'); |
||
51 | |||
52 | $this->renderTemplate('page.twig'); |
||
53 | } |
||
55 |
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.