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 ( 750c85...2497af )
by Julien
03:55
created

EnvSyncServiceProvider::provides()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
ccs 0
cts 7
cp 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * Laravel-Env-Sync
4
 *
5
 * @author Julien Tant - Craftyx <[email protected]>
6
 */
7
8
namespace Jtant\LaravelEnvSync;
9
10
use Illuminate\Support\ServiceProvider;
11
use Jtant\LaravelEnvSync\Reader\File\EnvFileReader;
12
use Jtant\LaravelEnvSync\Reader\ReaderInterface;
13
use Jtant\LaravelEnvSync\Writer\File\EnvFileWriter;
14
use Jtant\LaravelEnvSync\Writer\WriterInterface;
15
16
class EnvSyncServiceProvider extends ServiceProvider
17
{
18
    /**
19
     * Bootstrap the application services.
20
     *
21
     * @return void
22
     */
23
    public function boot()
24
    {
25
        //
26
    }
27
28
    /**
29
     * Register the application services.
30
     *
31
     * @return void
32
     */
33
    public function register()
34
    {
35
        // bindings
36
        $this->app->bind(ReaderInterface::class, EnvFileReader::class);
37
        $this->app->bind(WriterInterface::class, EnvFileWriter::class);
38
39
        // artisan command
40
        $this->commands(Console\SyncCommand::class);
41
    }
42
43
    public function provides()
44
    {
45
        return [
46
            ReaderInterface::class,
47
            WriterInterface::class,
48
        ];
49
    }
50
51
52
}
53