Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
39 | public function handle() |
||
40 | { |
||
41 | $laravel = $this->getLaravel(); |
||
42 | $commands = $laravel->make(Kernel::class)->all(); |
||
43 | $base_path = $laravel->basePath(); |
||
44 | |||
45 | $rows = array_map(function($command, $comand_name) use($base_path) { |
||
46 | $reflection = new \ReflectionClass($command); |
||
47 | return [ |
||
48 | 'name' => $comand_name, |
||
49 | 'command' => $reflection->getName(), |
||
50 | 'path' => str_replace($base_path, '', $reflection->getFileName()), |
||
51 | ]; |
||
52 | }, $commands, array_keys($commands)); |
||
53 | |||
54 | $this->table([], $rows); |
||
55 | } |
||
57 |
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