| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function testCommand() |
||
| 18 | { |
||
| 19 | $routeCollection = $this->createMock(RouteCollectionInterface::class); |
||
| 20 | $routeCollection->method('getRoutes')->willReturn([]); |
||
| 21 | $idGenerator = new DebuggerIdGenerator(); |
||
| 22 | $storage = $this->createMock(StorageInterface::class); |
||
| 23 | $storage->expects($this->never())->method('clear'); |
||
| 24 | $debugger = new Debugger($idGenerator, $storage, []); |
||
| 25 | |||
| 26 | $command = new DebugRoutesCommand($routeCollection, $debugger); |
||
| 27 | |||
| 28 | $commandTester = new CommandTester($command); |
||
| 29 | |||
| 30 | $commandTester->execute([]); |
||
| 31 | } |
||
| 33 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths