| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ProgressBarHelper implements ProgressBarHelperInterface |
||
| 14 | { |
||
| 15 | |||
| 16 | /** @var \Symfony\Component\Console\Helper\ProgressBar */ |
||
| 17 | protected $progressBar; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 21 | * @param string $resourceType |
||
| 22 | * @param int $totalCount |
||
| 23 | * |
||
| 24 | * @return \Symfony\Component\Console\Helper\ProgressBar |
||
| 25 | */ |
||
| 26 | public function startProgressBar( |
||
| 27 | OutputInterface $output, |
||
| 28 | $resourceType, |
||
| 29 | $totalCount |
||
| 30 | ) { |
||
| 31 | $this->progressBar = $this->generateProgressBar($output, $totalCount, $resourceType); |
||
| 32 | $this->progressBar->start(); |
||
| 33 | $this->progressBar->advance(0); |
||
| 34 | |||
| 35 | return $this->progressBar; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 40 | * @param int $count |
||
| 41 | * @param string $resourceType |
||
| 42 | * |
||
| 43 | * @return \Symfony\Component\Console\Helper\ProgressBar |
||
| 44 | */ |
||
| 45 | protected function generateProgressBar(OutputInterface $output, $count, $resourceType) |
||
| 49 | } |
||
| 50 | |||
| 52 |
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