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

src/Phase/TakeATicket/Controller.php 1 location

@@ 360-363 (lines=4) @@
357
    protected function getDisplayOptions()
358
    {
359
        $displayOptions = isset($this->app['displayOptions']) ? $this->app['displayOptions'] : [];
360
        if ($this->app['security']->isGranted(self::MANAGER_REQUIRED_ROLE)) {
361
            $displayOptions['songInPreview'] = true; // force for logged-in users
362
            $displayOptions['isAdmin'] = true; // force for logged-in users
363
        }
364
365
        return $displayOptions;
366
    }

src/Phase/TakeATicketBundle/Controller/BaseController.php 1 location

@@ 47-50 (lines=4) @@
44
            $displayOptions['songInPreview'] = false;
45
        }
46
47
        if ($this->isGranted('ROLE_ADMIN')) {
48
            $displayOptions['songInPreview'] = true; // force for logged-in users
49
            $displayOptions['isAdmin'] = true; // force for logged-in users
50
        }
51
52
        //        $displayOptions['upcomingCount'] = 3;
53