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

src/Fractal.php 2 locations

@@ 473-477 (lines=5) @@
470
     */
471
    public function __call($name, array $arguments)
472
    {
473
        if ($this->startsWith($name, ['include'])) {
474
            $includeName = lcfirst(substr($name, strlen('include')));
475
476
            return $this->parseIncludes($includeName);
477
        }
478
479
        if ($this->startsWith($name, ['exclude'])) {
480
            $excludeName = lcfirst(substr($name, strlen('exclude')));
@@ 479-483 (lines=5) @@
476
            return $this->parseIncludes($includeName);
477
        }
478
479
        if ($this->startsWith($name, ['exclude'])) {
480
            $excludeName = lcfirst(substr($name, strlen('exclude')));
481
482
            return $this->parseExcludes($excludeName);
483
        }
484
485
        trigger_error('Call to undefined method '.__CLASS__.'::'.$name.'()', E_USER_ERROR);
486
    }