| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function setUp() |
||
| 29 | { |
||
| 30 | $this->kernel = $this->createMock(Kernel::class); |
||
| 31 | |||
| 32 | $bundle = $this->createMock(BundleInterface::class); |
||
| 33 | |||
| 34 | $bundle->method('getNamespace') |
||
|
|
|||
| 35 | ->willReturn('Yarhon\RouteGuardBundle\Tests\Fixtures'); |
||
| 36 | |||
| 37 | $this->kernel->method('getBundle') |
||
| 38 | ->willReturn($bundle); |
||
| 39 | |||
| 40 | $this->converter = new ControllerNameConverter($this->kernel); |
||
| 41 | } |
||
| 71 |
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.