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

lib/Ogone/AbstractDirectLinkRequest.php 1 location

@@ 13-19 (lines=7) @@
10
abstract class AbstractDirectLinkRequest extends AbstractRequest
11
{
12
13
    public function setUserId($userid)
14
    {
15
        if (strlen($userid) < 2) {
16
            throw new InvalidArgumentException("User ID is too short");
17
        }
18
        $this->parameters['userid'] = $userid;
19
    }
20
21
    public function setPassword($password)
22
    {

lib/Ogone/DirectLink/DirectLinkPaymentRequest.php 1 location

@@ 41-47 (lines=7) @@
38
        return array(self::TEST, self::PRODUCTION);
39
    }
40
41
    public function setUserId($userid)
42
    {
43
        if (strlen($userid) < 2) {
44
            throw new InvalidArgumentException("User ID is too short");
45
        }
46
        $this->parameters['userid'] = $userid;
47
    }
48
49
    /** Alias for setPswd() */
50
    public function setPassword($password)