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

Controller/DefaultController.php 2 locations

@@ 55-64 (lines=10) @@
52
     * @param  string           $feature
53
     * @return RedirectResponse
54
     */
55
    public function incrementPercentageAction($feature)
56
    {
57
        $rollout = $this->getRollout();
58
        $percentage = $rollout->get($feature)->getPercentage() + 10;
59
        $rollout->activatePercentage($feature, $percentage);
60
61
        $this->addFlash('info', sprintf("Feature '%s' percentage changed to %d%% of all users", $feature, $percentage));
62
63
        return $this->createRedirectToFeatureListReponse();
64
    }
65
66
    /**
67
     * @param  string           $feature
@@ 70-79 (lines=10) @@
67
     * @param  string           $feature
68
     * @return RedirectResponse
69
     */
70
    public function decrementPercentageAction($feature)
71
    {
72
        $rollout = $this->getRollout();
73
        $percentage = $rollout->get($feature)->getPercentage() - 10;
74
        $rollout->activatePercentage($feature, $percentage);
75
76
        $this->addFlash('info', sprintf("Feature '%s' percentage changed to %d%% of all users", $feature, $percentage));
77
78
        return $this->createRedirectToFeatureListReponse();
79
    }
80
81
    /**
82
     * @param  string           $feature