GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

SeedDatabase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 5
c 1
b 0
f 0
dl 0
loc 31
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 3 1
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace BristolSU\ControlDB\Commands;
4
5
use Illuminate\Console\Command;
6
7
/**
8
 * Seed the database
9
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @author tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
10
class SeedDatabase extends Command
11
{
12
    /**
13
     * Signature for the command
14
     * 
15
     * @var string 
16
     */
17
    protected $signature = 'control:seed';
18
19
    /**
20
     * Name for the commmand
21
     * 
22
     * @var string 
23
     */
24
    protected $name = 'Seed Control';
25
26
    /**
27
     * Description of the command
28
     * 
29
     * @var string 
30
     */
31
    protected $description = 'Seed the control database with fake data';
32
33
    /**
34
     * Handle the command execution
35
     * 
36
     * Seed the database with fake data.
37
     */
0 ignored issues
show
Coding Style introduced by
Missing @return tag in function comment
Loading history...
38 1
    public function handle()
39
    {
40 1
        $this->call('db:seed', ['--class' => 'SeedControlDatabase']);
41
    }
42
}