Conditions | 3 |
Paths | 3 |
Total Lines | 20 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | public function initialize(InputInterface $input, OutputInterface $output) |
||
42 | { |
||
43 | parent::initialize($input, $output); |
||
44 | |||
45 | if ($this->loadMODX) { |
||
46 | $this->modx = $this->console->loadMODX(); |
||
47 | $local_migration_path = getenv('BLEND_LOCAL_MIGRATION_PATH'); |
||
48 | if (!$local_migration_path) { |
||
49 | $local_migration_path = MODX_CORE_PATH.'components/blend/'; |
||
50 | } |
||
51 | |||
52 | $this->blender = new Blender( |
||
53 | $this->modx, |
||
54 | $this->consoleUserInteractionHandler, |
||
55 | [ |
||
56 | 'blend_modx_migration_dir' => $local_migration_path, |
||
57 | ] |
||
58 | ); |
||
59 | |||
60 | $this->blender->setVerbose($output->getVerbosity()); |
||
61 | } |
||
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