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.

Code Duplication    Length = 9-9 lines in 5 locations

src/Notifications/Notifications/MonitorFailed.php 1 location

@@ 33-41 (lines=9) @@
30
        return $mailMessage;
31
    }
32
33
    public function toSlack($notifiable)
34
    {
35
        return (new SlackMessage)
36
            ->error()
37
            ->content("The uptime check for monitor {$this->event->monitor->url} failed.")
38
            ->attachment(function (SlackAttachment $attachment) {
39
                $attachment->fields($this->getMonitorProperties());
40
            });
41
    }
42
43
    public function getMonitorProperties($extraProperties = []): array
44
    {

src/Notifications/Notifications/MonitorRecovered.php 1 location

@@ 33-41 (lines=9) @@
30
        return $mailMessage;
31
    }
32
33
    public function toSlack($notifiable)
34
    {
35
        return (new SlackMessage)
36
            ->success()
37
            ->content("Site {$this->event->monitor->url} has been restored")
38
            ->attachment(function (SlackAttachment $attachment) {
39
                $attachment->fields($this->getMonitorProperties());
40
            });
41
    }
42
43
    public function getMonitorProperties($extraProperties = []): array
44
    {

src/Notifications/Notifications/MonitorSucceeded.php 1 location

@@ 33-41 (lines=9) @@
30
        return $mailMessage;
31
    }
32
33
    public function toSlack($notifiable)
34
    {
35
        return (new SlackMessage)
36
            ->success()
37
            ->content("Site {$this->event->monitor->url} is up")
38
            ->attachment(function (SlackAttachment $attachment) {
39
                $attachment->fields($this->getMonitorProperties());
40
            });
41
    }
42
43
    public function isStillRelevant(): bool
44
    {

src/Notifications/Notifications/SslCheckFailed.php 1 location

@@ 32-40 (lines=9) @@
29
        return $mailMessage;
30
    }
31
32
    public function toSlack($notifiable)
33
    {
34
        return (new SlackMessage)
35
            ->error()
36
            ->content("Found an invalid ssl certificate for {$this->event->monitor->url}")
37
            ->attachment(function (SlackAttachment $attachment) {
38
                $attachment->fields($this->getMonitorProperties());
39
            });
40
    }
41
42
    public function getMonitorProperties($properties = []): array
43
    {

src/Notifications/Notifications/SslCheckSucceeded.php 1 location

@@ 32-40 (lines=9) @@
29
        return $mailMessage;
30
    }
31
32
    public function toSlack($notifiable)
33
    {
34
        return (new SlackMessage)
35
            ->success()
36
            ->content("Found a valid ssl certificate for {$this->event->monitor->url}")
37
            ->attachment(function (SlackAttachment $attachment) {
38
                $attachment->fields($this->getMonitorProperties());
39
            });
40
    }
41
42
    public function setEvent(ValidSslCertificateFoundEvent $event)
43
    {