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.
Completed
Push — master ( f91a4c...f91a4c )
by Dave
39:26 queued 34:22
created

UpdateCommand::fire()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
ccs 0
cts 1
cp 0
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
3
namespace SleepingOwl\Admin\Console\Commands;
4
5
use Illuminate\Filesystem\Filesystem;
6
use SleepingOwl\Admin\Console\Installation;
7
8
class UpdateCommand extends Installation\Command
9
{
10
    /**
11
     * The name and signature of the console command.
12
     *
13
     * @var string
14
     */
15
    protected $signature = 'sleepingowl:update';
16
17
    /**
18
     * The console command description.
19
     * @var string
20
     */
21
    protected $description = 'Update the SleepingOwl Admin package';
22
23
    /**
24
     * Execute the console command.
25
     *
26
     * @param Filesystem $files
27
     */
28
    public function fire(Filesystem $files)
29
    {
30
        $this->runInstaller();
31
    }
32
33
    /**
34
     * @param Filesystem $files
35
     */
36
    public function handle(Filesystem $files)
37
    {
38
        $this->runInstaller();
39
    }
40
41
    protected function runInstaller()
42
    {
43
        $this->call('vendor:publish', ['--tag' => 'assets', '--force' => true]);
44
        $this->callSilent('sleepingowl:ide:generate');
45
46
        $this->comment('SleepingOwl Framework successfully updated.');
47
    }
48
}
49