| Conditions | 4 |
| Paths | 5 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 19 | public function process( |
||
| 20 | FileCollection $filesCollection, |
||
| 21 | ProcessFactory $processFactory, |
||
| 22 | OnSuccess $onSuccess |
||
| 23 | ): Collection { |
||
| 24 | $completedProcessesArray = []; |
||
| 25 | while ($filesCollection->hasFiles()) { |
||
| 26 | $file = $filesCollection->getNextFile(); |
||
| 27 | $process = $processFactory->createGitCommitProcess($file); |
||
| 28 | $process->start(); |
||
| 29 | while (!$process->isSuccessful()); |
||
| 30 | $completedProcessesArray[$process->getFileName()][$process->getType()] = $process; |
||
| 31 | $process = $processFactory->createCyclomaticComplexityProcess($file); |
||
| 32 | $process->start(); |
||
| 33 | while (!$process->isSuccessful()); |
||
| 34 | $completedProcessesArray[$process->getFileName()][$process->getType()] = $process; |
||
| 35 | $onSuccess($file); |
||
| 36 | } |
||
| 37 | return new Collection($completedProcessesArray); |
||
| 38 | } |
||
| 40 |
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