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/PHPCoverFish/Validator/Base/BaseCoverFishValidator.php 3 locations

@@ 290-299 (lines=10) @@
287
     *
288
     * @return bool|CoverFishMessageError
289
     */
290
    public function validateReflectionClassForAccessorPublic(\ReflectionClass $reflectionClass)
291
    {
292
        if (empty($methods = $reflectionClass->getMethods(\ReflectionMethod::IS_PUBLIC))) {
293
            return new CoverFishMessageError(
294
                CoverFishMessageError::PHPUNIT_REFLECTION_NO_PUBLIC_METHODS_FOUND, null
295
            );
296
        }
297
298
        return true;
299
    }
300
301
    /**
302
     * @param \ReflectionClass $reflectionClass
@@ 327-336 (lines=10) @@
324
     *
325
     * @return bool|CoverFishMessageError
326
     */
327
    public function validateReflectionClassForAccessorProtected(\ReflectionClass $reflectionClass)
328
    {
329
        if (empty($methods = $reflectionClass->getMethods(\ReflectionMethod::IS_PROTECTED))) {
330
            return new CoverFishMessageError(
331
                CoverFishMessageError::PHPUNIT_REFLECTION_NO_PROTECTED_METHODS_FOUND, null
332
            );
333
        }
334
335
        return true;
336
    }
337
338
    /**
339
     * @param \ReflectionClass $reflectionClass
@@ 364-373 (lines=10) @@
361
     *
362
     * @return bool|CoverFishMessageError
363
     */
364
    public function validateReflectionClassForAccessorPrivate(\ReflectionClass $reflectionClass)
365
    {
366
        if (empty($methods = $reflectionClass->getMethods(\ReflectionMethod::IS_PRIVATE))) {
367
            return new CoverFishMessageError(
368
                CoverFishMessageError::PHPUNIT_REFLECTION_NO_PRIVATE_METHODS_FOUND, null
369
            );
370
        }
371
372
        return true;
373
    }
374
375
    /**
376
     * @param \ReflectionClass $reflectionClass