| Total Complexity | 4 | 
| Total Lines | 40 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | class PostTopWeekCommand extends Command  | 
            ||
| 12 | { | 
            ||
| 13 | protected static $defaultName = 'vgr-core:post-top-week';  | 
            ||
| 14 | |||
| 15 | private PostTopWeekHandler $postTopWeekHandler;  | 
            ||
| 16 | |||
| 17 | public function __construct(PostTopWeekHandler $postTopWeekHandler)  | 
            ||
| 18 |     { | 
            ||
| 19 | $this->postTopWeekHandler = $postTopWeekHandler;  | 
            ||
| 20 | parent::__construct();  | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | protected function configure()  | 
            ||
| 24 |     { | 
            ||
| 25 | $this  | 
            ||
| 26 |             ->setName('vgr-core:post-top-week') | 
            ||
| 27 |             ->setDescription('Command post top week') | 
            ||
| 28 | ->addOption(  | 
            ||
| 29 | 'date',  | 
            ||
| 30 | null,  | 
            ||
| 31 | InputOption::VALUE_OPTIONAL,  | 
            ||
| 32 | ''  | 
            ||
| 33 | )  | 
            ||
| 34 | ;  | 
            ||
| 35 | }  | 
            ||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @param InputInterface $input  | 
            ||
| 39 | * @param OutputInterface $output  | 
            ||
| 40 | * @return int  | 
            ||
| 41 | * @throws Exception  | 
            ||
| 42 | */  | 
            ||
| 43 | protected function execute(InputInterface $input, OutputInterface $output): int  | 
            ||
| 51 | }  | 
            ||
| 52 | }  | 
            ||
| 53 | 
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