| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | final class RebuildCommand extends Command |
||
| 17 | { |
||
| 18 | private ?SymfonyStyle $io = null; |
||
| 19 | |||
| 20 | protected static $defaultName = 'config/rebuild'; |
||
| 21 | |||
| 22 | public function __construct() |
||
| 23 | { |
||
| 24 | parent::__construct(); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function configure(): void |
||
| 28 | { |
||
| 29 | $this |
||
| 30 | ->setDescription('Rebuild Yii configuration.') |
||
| 31 | ->addOption('baseDir', null, InputOption::VALUE_OPTIONAL, 'Base directory', null) |
||
| 32 | ->setHelp('This command rebuild Yii configuration..'); |
||
| 33 | } |
||
| 34 | |||
| 35 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 41 | } |
||
| 42 | |||
| 43 | private function io(): SymfonyStyle |
||
| 49 | } |
||
| 50 | } |
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