Total Complexity | 3 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class RouteCommands extends Command |
||
19 | { |
||
20 | /** |
||
21 | * The name and signature of the console command. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $signature = 'bantenprov-sso:add-route'; |
||
26 | |||
27 | /** |
||
28 | * The console command description. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $description = 'Add sso rotes to web route'; |
||
33 | |||
34 | /** |
||
35 | * Create a new command instance. |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | |||
40 | protected $drip; |
||
41 | |||
42 | public function __construct() |
||
43 | { |
||
44 | parent::__construct(); |
||
45 | |||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Execute the console command. |
||
50 | * |
||
51 | * @return mixed |
||
52 | */ |
||
53 | |||
54 | protected function content() |
||
55 | { |
||
56 | |||
57 | $replace_middleware = File::get(__DIR__.'/../stubs/route.stub'); |
||
58 | return $replace_middleware; |
||
59 | } |
||
60 | |||
61 | |||
62 | public function handle() |
||
66 | } |
||
67 | } |
||
68 |
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