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

src/Workflow/Composer/Diagnose.php 2 locations

@@ 124-129 (lines=6) @@
121
                continue;
122
            }
123
            if (is_string($message = $this->{'check' . $check}($package))) {
124
                if (!$packageNames && !$errors) {
125
                    $this->console->output(
126
                        str_repeat(chr(8), strlen($check))
127
                        . '<fg=red;bg=black>' . $check . '</>'
128
                    );
129
                }
130
                $message = sprintf($message, "package <comment>$package->name</>");
131
                $this->console->output(ucfirst($message));
132
                $errors++;
@@ 154-162 (lines=9) @@
151
        if ($rerunForPackages) {
152
            $this->doCheck($check, $fix, $rerunForPackages);
153
        }
154
        if (!$packageNames) {
155
            if (!$errors) {
156
                $this->console->output(
157
                    str_repeat(chr(8), strlen($check))
158
                    . '<fg=green;bg=black>' . $check . '</>'
159
                );
160
            }
161
            $this->console->outdent();
162
        }
163
    }
164
165
    /**