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 = 8-8 lines in 2 locations

src/SslChain.php 1 location

@@ 136-143 (lines=8) @@
133
        return $this->expirationDate()->isPast();
134
    }
135
136
    public function isValid()
137
    {
138
        if (Carbon::now()->between($this->validFromDate(), $this->expirationDate()) === false) {
139
            return false;
140
        }
141
142
        return true;
143
    }
144
145
    public function isValidUntil(Carbon $carbon): bool
146
    {

src/SslCertificate.php 1 location

@@ 284-291 (lines=8) @@
281
        return $this->isValid($url);
282
    }
283
284
    public function isValidDate(Carbon $carbon): bool
285
    {
286
        if ($carbon->between($this->validFromDate(), $this->expirationDate()) === false) {
287
            return false;
288
        }
289
290
        return true;
291
    }
292
293
    public function isSelfSigned(): bool
294
    {