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

src/Component/PharUpdate/Version/Builder.php 3 locations

@@ 210-219 (lines=10) @@
207
     *
208
     * @throws InvalidNumberException If the number is invalid.
209
     */
210
    public function setMajor($number)
211
    {
212
        if (!Validator::isNumber($number)) {
213
            throw new InvalidNumberException($number);
214
        }
215
216
        $this->major = intval($number);
217
218
        return $this;
219
    }
220
221
    /**
222
     * Sets the minor version number.
@@ 230-239 (lines=10) @@
227
     *
228
     * @throws InvalidNumberException If the number is invalid.
229
     */
230
    public function setMinor($number)
231
    {
232
        if (!Validator::isNumber($number)) {
233
            throw new InvalidNumberException($number);
234
        }
235
236
        $this->minor = intval($number);
237
238
        return $this;
239
    }
240
241
    /**
242
     * Sets the patch version number.
@@ 250-259 (lines=10) @@
247
     *
248
     * @throws InvalidNumberException If the number is invalid.
249
     */
250
    public function setPatch($number)
251
    {
252
        if (!Validator::isNumber($number)) {
253
            throw new InvalidNumberException($number);
254
        }
255
256
        $this->patch = intval($number);
257
258
        return $this;
259
    }
260
261
    /**
262
     * Sets the pre-release version identifiers.