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 ( a5b39e...5548a2 )
by Freek
01:34
created

VarnishServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 16
rs 10
c 1
b 0
f 0
wmc 2
lcom 1
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 9 2
1
<?php
2
3
namespace Spatie\Varnish;
4
5
use Illuminate\Support\ServiceProvider;
6
use Spatie\UptimeMonitor\Commands\CheckUptime;
7
use Spatie\UptimeMonitor\Commands\ListMonitors;
8
use Spatie\UptimeMonitor\Commands\CreateMonitor;
9
use Spatie\UptimeMonitor\Commands\DeleteMonitor;
10
use Spatie\UptimeMonitor\Commands\EnableMonitor;
11
use Spatie\UptimeMonitor\Commands\DisableMonitor;
12
use Spatie\UptimeMonitor\Commands\CheckCertificates;
13
use Spatie\UptimeMonitor\Notifications\EventHandler;
14
use Spatie\UptimeMonitor\Helpers\UptimeResponseCheckers\UptimeResponseChecker;
15
16
class VarnishServiceProvider extends ServiceProvider
17
{
18
    /**
19
     * Bootstrap the application services.
20
     */
21
    public function boot()
22
    {
23
        if ($this->app->runningInConsole()) {
24
            $this->publishes([
25
                __DIR__.'/../config/laravel-varnish.php' => config_path('laravel-varnish.php'),
26
            ], 'config');
27
        }
28
29
    }
30
31
}
32