We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class GeneratePageRoutes extends Command |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var MenuRepository |
||
| 15 | */ |
||
| 16 | private $menus; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The name and signature of the console command. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $signature = 'page.routes.generate'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The console command description. |
||
| 27 | * |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $description = 'Generate the page routes based on the linked menus.'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Create a new command instance. |
||
| 34 | * |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function __construct(MenuRepository $menus) |
||
| 38 | { |
||
| 39 | parent::__construct(); |
||
| 40 | |||
| 41 | $this->menus = $menus; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Execute the console command. |
||
| 46 | * |
||
| 47 | * @return mixed |
||
| 48 | */ |
||
| 49 | public function handle() |
||
| 59 | } |
||
| 60 | } |
||
| 61 |
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