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 = 13-15 lines in 3 locations

lib/Ogone/Subscription/SubscriptionPaymentRequest.php 2 locations

@@ 16-30 (lines=15) @@
13
     * Set amount in cents, eg EUR 12.34 is written as 1234
14
     * For subscriptions an amount of 0 can be selected, however this feature must first be enabled by ogone for your account
15
     */
16
    public function setAmount($amount)
17
    {
18
        if (!is_int($amount)) {
19
            throw new InvalidArgumentException("Integer expected. Amount is always in cents");
20
        }
21
        if ($amount < 0) {
22
            throw new InvalidArgumentException("Amount must be a positive number or 0");
23
        }
24
        if ($amount >= 1.0E+15) {
25
            throw new InvalidArgumentException("Amount is too high");
26
        }
27
28
        $this->parameters['amount'] = $amount;
29
30
    }
31
32
    /**
33
     * Unique identifier of the subscription. The subscription id must be assigned dynamically.
@@ 57-69 (lines=13) @@
54
     *
55
     * @param integer $amount
56
     */
57
    public function setSubscriptionAmount($amount)
58
    {
59
        if (!is_int($amount)) {
60
            throw new InvalidArgumentException("Integer expected. Amount is always in cents");
61
        }
62
        if ($amount <= 0) {
63
            throw new InvalidArgumentException("Amount must be a positive number");
64
        }
65
        if ($amount >= 1.0E+15) {
66
            throw new InvalidArgumentException("Amount is too high");
67
        }
68
        $this->parameters['sub_amount'] = $amount;
69
    }
70
71
    /**
72
     * Order description

lib/Ogone/AbstractPaymentRequest.php 1 location

@@ 157-169 (lines=13) @@
154
    /**
155
     * Set amount in cents, eg EUR 12.34 is written as 1234
156
     */
157
    public function setAmount($amount)
158
    {
159
        if (!is_int($amount)) {
160
            throw new InvalidArgumentException("Integer expected. Amount is always in cents");
161
        }
162
        if ($amount <= 0) {
163
            throw new InvalidArgumentException("Amount must be a positive number");
164
        }
165
        if ($amount >= 1.0E+15) {
166
            throw new InvalidArgumentException("Amount is too high");
167
        }
168
        $this->parameters['amount'] = $amount;
169
    }
170
171
    public function setCurrency($currency)
172
    {