| Total Complexity | 2 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | class RouterListCommand extends Command |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * Sign of the command. |
||
| 30 | * |
||
| 31 | * @since 1.0.0 |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $sign = 'route:list'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Description of the command. |
||
| 39 | * |
||
| 40 | * @since 1.0.0 |
||
| 41 | * |
||
| 42 | * @var string |
||
| 43 | */ |
||
| 44 | protected $description = 'List all registered routes'; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * App instance. |
||
| 48 | * |
||
| 49 | * @since 1.0.0 |
||
| 50 | * |
||
| 51 | * @var \alphaz\Router\App |
||
| 52 | */ |
||
| 53 | private $app; |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Create a new command instance. |
||
| 57 | * |
||
| 58 | * @return void |
||
| 59 | */ |
||
| 60 | public function __construct() |
||
| 61 | { |
||
| 62 | parent::__construct(); |
||
| 63 | $this->app = new App(); |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * Function to handle the class. |
||
| 68 | * |
||
| 69 | * @param \alphaz\Console\Output $output |
||
| 70 | * @param \alphaz\Console\Input $input |
||
| 71 | * @param array $param |
||
| 72 | * |
||
| 73 | * @return void |
||
| 74 | */ |
||
| 75 | public function handle(Output $output, Input $input, $param = []): void |
||
| 79 | } |
||
| 80 | } |
||
| 81 |
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