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/SslCertificate.php 1 location

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

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
    {