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.

ConfigCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 25
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 5 1
1
<?php
2
3
4
namespace AloiaCms\Console;
5
6
use Illuminate\Console\Command;
7
8
class ConfigCommand extends Command
9
{
10
    /**
11
     * The name and signature of the console command.
12
     *
13
     * @var string
14
     */
15
    protected $signature = 'aloiacms:publish:config';
16
    /**
17
     * The console command description.
18
     *
19
     * @var string
20
     */
21
    protected $description = 'Re-publish the Aloia CMS config';
22
23
    /**
24
     * Execute the console command.
25
     *
26
     * @return void
27
     */
28 1
    public function handle()
29
    {
30 1
        $this->call('vendor:publish', [
31 1
            '--tag' => 'config',
32
            '--force' => true,
33
        ]);
34 1
    }
35
}
36