| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 30 | public function getIterator() |
||
| 31 | { |
||
| 32 | /** @var SplFileInfo $command_file_info */ |
||
| 33 | foreach ($this->command_files_iterator as $command_file_info) { |
||
| 34 | $class_name = $command_file_info->getBasename('.php'); |
||
| 35 | $namespace = $command_file_info->getPathInfo()->getFilename(); |
||
| 36 | $result = "PhpProfiler\\Command\\{$namespace}\\$class_name"; |
||
| 37 | assert(is_subclass_of($result, Command::class)); |
||
| 38 | yield $result; |
||
| 39 | } |
||
| 42 |
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