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

@@ 403-407 (lines=5) @@
400
     */
401
    public function __call($name, array $arguments)
402
    {
403
        if ($this->startsWith($name, ['include'])) {
404
            $includeName = lcfirst(substr($name, strlen('include')));
405
406
            return $this->parseIncludes($includeName);
407
        }
408
409
        if ($this->startsWith($name, ['exclude'])) {
410
            $excludeName = lcfirst(substr($name, strlen('exclude')));
@@ 409-413 (lines=5) @@
406
            return $this->parseIncludes($includeName);
407
        }
408
409
        if ($this->startsWith($name, ['exclude'])) {
410
            $excludeName = lcfirst(substr($name, strlen('exclude')));
411
412
            return $this->parseExcludes($excludeName);
413
        }
414
415
        trigger_error('Call to undefined method '.__CLASS__.'::'.$name.'()', E_USER_ERROR);
416
    }