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