Total Complexity | 2 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | abstract class AbstractExportCommand extends Command |
||
18 | { |
||
19 | /** |
||
20 | * @var ProgressBarFactory |
||
21 | */ |
||
22 | private $progressBarFactory; |
||
23 | |||
24 | /** |
||
25 | * @var PublisherInterface |
||
26 | */ |
||
27 | protected $publisher; |
||
28 | |||
29 | /** |
||
30 | * @param ProgressBarFactory $progressBarFactory |
||
31 | * @param PublisherInterface $publisher |
||
32 | */ |
||
33 | public function __construct( |
||
34 | ProgressBarFactory $progressBarFactory, |
||
35 | PublisherInterface $publisher |
||
36 | ) { |
||
37 | $this->progressBarFactory = $progressBarFactory; |
||
38 | $this->publisher = $publisher; |
||
39 | parent::__construct(); |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @param OutputInterface $output |
||
44 | * @param string $message |
||
45 | * @param int $max |
||
46 | * @return ProgressBar |
||
47 | */ |
||
48 | protected function createProgressBar(OutputInterface $output, int $max, string $message): ProgressBar |
||
56 | } |
||
57 | } |
||
58 |
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