Passed
Push — master ( 5403d4...38a665 )
by Ferry
04:29
created

DeveloperCommand::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php namespace crocodicstudio\crudbooster\commands;
2
3
use App;
4
use Cache;
5
use Illuminate\Support\Facades\DB;
6
use Illuminate\Console\Command;
7
use Illuminate\Support\Str;
8
use Symfony\Component\Process\Process;
9
10
class DeveloperCommand extends Command
11
{
12
    /**
13
     * The console command name.
14
     *
15
     * @var string
16
     */
17
    protected $signature = 'crudbooster:developer {--username=AUTO : Create developer username} {--password=AUTO : To custom the password of developer}';
18
19
    /**
20
     * The console command description.
21
     *
22
     * @var string
23
     */
24
    protected $description = 'CRUDBooster Generate Developer User';
25
26
    /**
27
     * Execute the console command.
28
     *
29
     * @return mixed
30
     */
31
    public function handle()
32
    {
33
        (new DeveloperCommandService($this))->create();
0 ignored issues
show
Bug introduced by
The type crocodicstudio\crudboost...DeveloperCommandService was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
34
    }
35
}
36