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

src/Console/RunCommand.php 1 location

@@ 90-96 (lines=7) @@
87
            $this->deployer->config['log_file'] = $input->getOption('log');
88
        }
89
90
        if (!empty($hosts)) {
91
            $hosts = $this->deployer->hostSelector->getByHostnames($hosts);
92
        } elseif (!empty($roles)) {
93
            $hosts = $this->deployer->hostSelector->getByRoles($roles);
94
        } else {
95
            $hosts = $this->deployer->hostSelector->getHosts($stage);
96
        }
97
98
        if (empty($hosts)) {
99
            throw new Exception('No host selected');

src/Console/TaskCommand.php 1 location

@@ 113-119 (lines=7) @@
110
            $this->deployer->config['log_file'] = $input->getOption('log');
111
        }
112
113
        if (!empty($hosts)) {
114
            $hosts = $this->deployer->hostSelector->getByHostnames($hosts);
115
        } elseif (!empty($roles)) {
116
            $hosts = $this->deployer->hostSelector->getByRoles($roles);
117
        } else {
118
            $hosts = $this->deployer->hostSelector->getHosts($stage);
119
        }
120
121
        if (empty($hosts)) {
122
            throw new Exception('No host selected');