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.

LocaleToYamlServiceProvider::boot()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 9
ccs 0
cts 9
cp 0
rs 9.6666
c 1
b 0
f 0
cc 2
eloc 5
nc 2
nop 0
crap 6
1
<?php
2
3
namespace EllipseSynergie\LocaleToYaml;
4
5
use Illuminate\Support\ServiceProvider;
6
use EllipseSynergie\LocaleToYaml\Commands\ExportCommand;
7
use EllipseSynergie\LocaleToYaml\Commands\ImportCommand;
8
9
class LocaleToYamlServiceProvider extends ServiceProvider
10
{
11
    /**
12
     * Bootstrap the application services.
13
     *
14
     * @return void
15
     */
16
    public function boot()
17
    {
18
        if ($this->app->runningInConsole()) {
19
            $this->commands([
20
                ExportCommand::class,
21
                ImportCommand::class,
22
            ]);
23
        }
24
    }
25
26
    /**
27
     * Register bindings in the container.
28
     *
29
     * @return void
30
     */
31
    public function register()
32
    {
33
    }
34
}