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

Controller/DefaultController.php 2 locations

@@ 64-72 (lines=9) @@
61
     *
62
     * @return RedirectResponse
63
     */
64
    public function incrementPercentageAction(GroupDefinitionAwareRollout $rollout, string $feature)
65
    {
66
        $percentage = $rollout->get($feature)->getPercentage() + 10;
67
        $rollout->activatePercentage($feature, $percentage);
68
69
        $this->addFlash('info', sprintf("Feature '%s' percentage changed to %d%% of all users", $feature, $percentage));
70
71
        return $this->redirectToRoute('opensoft_rollout');
72
    }
73
74
    /**
75
     * @param GroupDefinitionAwareRollout $rollout
@@ 80-88 (lines=9) @@
77
     *
78
     * @return RedirectResponse
79
     */
80
    public function decrementPercentageAction(GroupDefinitionAwareRollout $rollout, string $feature)
81
    {
82
        $percentage = $rollout->get($feature)->getPercentage() - 10;
83
        $rollout->activatePercentage($feature, $percentage);
84
85
        $this->addFlash('info', sprintf("Feature '%s' percentage changed to %d%% of all users", $feature, $percentage));
86
87
        return $this->redirectToRoute('opensoft_rollout');
88
    }
89
90
    /**
91
     * @param GroupDefinitionAwareRollout $rollout