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

src/functions.php 2 locations

@@ 213-217 (lines=5) @@
210
 */
211
function after($task, $do)
212
{
213
    if (is_callable($do)) {
214
        $newTask = task("after:$task", $do);
215
        after($task, "after:$task");
216
        return $newTask;
217
    }
218
    task($task)->addAfter($do);
219
}
220
@@ 230-234 (lines=5) @@
227
 */
228
function fail($task, $do)
229
{
230
    if (is_callable($do)) {
231
        $newTask = task("fail:$task", $do);
232
        fail($task, "fail:$task");
233
        return $newTask;
234
    }
235
    $deployer = Deployer::get();
236
    $deployer->fail->set($task, $do);
237
}