Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | abstract class BaseCommand extends Command |
||
23 | { |
||
24 | /** @var \modX $modx */ |
||
25 | protected $modx; |
||
26 | |||
27 | /** @var \LCI\Blend\Blender */ |
||
28 | protected $blender; |
||
29 | |||
30 | protected $loadMODX = true; |
||
31 | |||
32 | /** |
||
33 | * Initializes the command just after the input has been validated. |
||
34 | * |
||
35 | * This is mainly useful when a lot of commands extends one main command |
||
36 | * where some things need to be initialized based on the input arguments and options. |
||
37 | * |
||
38 | * @param InputInterface $input An InputInterface instance |
||
39 | * @param OutputInterface $output An OutputInterface instance |
||
40 | */ |
||
41 | public function initialize(InputInterface $input, OutputInterface $output) |
||
64 |
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