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

src/PHPCoverFish/Validator/Base/BaseCoverFishValidator.php 3 locations

@@ 306-320 (lines=15) @@
303
     *
304
     * @return bool|CoverFishMessageError
305
     */
306
    public function validateReflectionClassForAccessorNotPublic(\ReflectionClass $reflectionClass)
307
    {
308
        $methods = array_merge(
309
            $reflectionClass->getMethods(\ReflectionMethod::IS_PRIVATE),
310
            $reflectionClass->getMethods(\ReflectionMethod::IS_PROTECTED)
311
        );
312
313
        if (empty($methods)) {
314
            return new CoverFishMessageError(
315
                CoverFishMessageError::PHPUNIT_REFLECTION_NO_NOT_PUBLIC_METHODS_FOUND, null
316
            );
317
        }
318
319
        return true;
320
    }
321
322
    /**
323
     * @param \ReflectionClass $reflectionClass
@@ 343-357 (lines=15) @@
340
     *
341
     * @return bool|CoverFishMessageError
342
     */
343
    public function validateReflectionClassForAccessorNotProtected(\ReflectionClass $reflectionClass)
344
    {
345
        $methods = array_merge(
346
            $reflectionClass->getMethods(\ReflectionMethod::IS_PRIVATE),
347
            $reflectionClass->getMethods(\ReflectionMethod::IS_PUBLIC)
348
        );
349
350
        if (empty($methods)) {
351
            return new CoverFishMessageError(
352
                CoverFishMessageError::PHPUNIT_REFLECTION_NO_NOT_PROTECTED_METHODS_FOUND, null
353
            );
354
        }
355
356
        return true;
357
    }
358
359
    /**
360
     * @param \ReflectionClass $reflectionClass
@@ 380-394 (lines=15) @@
377
     *
378
     * @return bool|CoverFishMessageError
379
     */
380
    public function validateReflectionClassForAccessorNotPrivate(\ReflectionClass $reflectionClass)
381
    {
382
        $methods = array_merge(
383
            $reflectionClass->getMethods(\ReflectionMethod::IS_PROTECTED),
384
            $reflectionClass->getMethods(\ReflectionMethod::IS_PUBLIC)
385
        );
386
387
        if (empty($methods)) {
388
            return new CoverFishMessageError(
389
                CoverFishMessageError::PHPUNIT_REFLECTION_NO_NOT_PRIVATE_METHODS_FOUND, null
390
            );
391
        }
392
393
        return true;
394
    }
395
396
    /**
397
     * @param string $classFQN