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

lib/Ogone/AbstractPaymentRequest.php 1 location

@@ 179-188 (lines=10) @@
176
        $this->parameters['currency'] = $currency;
177
    }
178
179
    public function setEmail($email)
180
    {
181
        if (strlen($email) > 50) {
182
            throw new InvalidArgumentException("Email is too long");
183
        }
184
        if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
185
            throw new InvalidArgumentException("Email is invalid");
186
        }
187
        $this->parameters['email'] = $email;
188
    }
189
190
    public function setOwnerAddress($owneraddress)
191
    {

lib/Ogone/AbstractRequest.php 1 location

@@ 188-196 (lines=9) @@
185
        }
186
    }
187
188
    protected function validateUri($uri)
189
    {
190
        if (!filter_var($uri, FILTER_VALIDATE_URL)) {
191
            throw new InvalidArgumentException("Uri is not valid");
192
        }
193
        if (strlen($uri) > 200) {
194
            throw new InvalidArgumentException("Uri is too long");
195
        }
196
    }
197
198
    protected function validateOgoneUri($uri)
199
    {