| Total Complexity | 5 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class TeamCommand extends Command |
||
| 12 | { |
||
| 13 | protected static $defaultName = 'vgr-dwh:team'; |
||
| 14 | |||
| 15 | private DwhTeamHandler $dwhTeamHandler; |
||
| 16 | |||
| 17 | public function __construct(DwhTeamHandler $dwhTeamHandler) |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function configure() |
||
| 24 | { |
||
| 25 | $this->setName('vgr-dwh:team') |
||
| 26 | ->setDescription('Command to update table vgr_team') |
||
| 27 | ->addArgument( |
||
| 28 | 'function', |
||
| 29 | InputArgument::REQUIRED, |
||
| 30 | 'Who do you want to do?' |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param InputInterface $input |
||
| 36 | * @param OutputInterface $output |
||
| 37 | * @return int |
||
| 38 | * @throws Exception |
||
| 39 | */ |
||
| 40 | protected function execute(InputInterface $input, OutputInterface $output): int |
||
| 52 | } |
||
| 53 | } |
||
| 54 |
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