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 ( b905f6...efedee )
by Freek
01:58
created

ListUptimeMonitors::listSitesWithSslProblems()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 21
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 11
nc 2
nop 0
dl 0
loc 21
rs 9.3142
c 0
b 0
f 0
1
<?php
2
3
namespace Spatie\UptimeMonitor\Commands;
4
5
use Illuminate\Console\Command;
6
use Spatie\UptimeMonitor\Commands\UptimeMonitorLists\DownSites;
7
use Spatie\UptimeMonitor\Commands\UptimeMonitorLists\HealthySites;
8
use Spatie\UptimeMonitor\Commands\UptimeMonitorLists\SitesWithSslProblems;
9
use Spatie\UptimeMonitor\Helpers\Emoji;
10
use Spatie\UptimeMonitor\Models\Enums\UptimeStatus;
11
use Spatie\UptimeMonitor\Models\Site;
12
use Spatie\UptimeMonitor\SiteRepository;
13
14
class ListUptimeMonitors extends Command
15
{
16
    /**
17
     * The name and signature of the console command.
18
     *
19
     * @var string
20
     */
21
    protected $signature = 'uptime-monitor:list';
22
23
    /**
24
     * The console command description.
25
     *
26
     * @var string
27
     */
28
    protected $description = 'List all uptime monitors';
29
30
    public function handle()
31
    {
32
        (new DownSites($this))->display();
33
        (new SitesWithSslProblems($this))->display();
34
        (new HealthySites($this))->display();
35
    }
36
}
37