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

src/Events/EventController.php 1 location

@@ 81-92 (lines=12) @@
78
        // Check the status of the form
79
        $status = $form->check();
80
81
        if ($status === true) {
82
83
            $this->dispatcher->forward([
84
                'controller' => 'event',
85
                'action'     => 'add',
86
            ]);
87
88
        } else if ($status === false) {
89
90
            var_dump('Check method returned false');
91
            die;
92
        }
93
94
        $this->views->add('calendar/calendar', [
95
            'content' => $calendar->printResponsiveCalendar($eventCount),

webroot/calendar.php 1 location

@@ 77-88 (lines=12) @@
74
    // Check the status of the form
75
    $status = $form->check();
76
77
    if ($status === true) {
78
79
        $app->dispatcher->forward([
80
            'controller' => 'calendar',
81
            'action'     => 'add',
82
        ]);
83
84
    } else if ($status === false) {
85
86
        var_dump('Check method returned false');
87
        die;
88
    }
89
90
91
    $app->views->add('me/page', [