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

src/functions.php 4 locations

@@ 516-523 (lines=8) @@
513
 * @param string $name
514
 * @param mixed $value
515
 */
516
function set($name, $value)
517
{
518
    if (!Context::has()) {
519
        Deployer::get()->config->set($name, $value);
520
    } else {
521
        Context::get()->getConfig()->set($name, $value);
522
    }
523
}
524
525
/**
526
 * Merge new config params to existing config array.
@@ 531-538 (lines=8) @@
528
 * @param string $name
529
 * @param array $array
530
 */
531
function add($name, $array)
532
{
533
    if (!Context::has()) {
534
        Deployer::get()->config->add($name, $array);
535
    } else {
536
        Context::get()->getConfig()->add($name, $array);
537
    }
538
}
539
540
/**
541
 * Get configuration value.
@@ 547-554 (lines=8) @@
544
 * @param mixed|null $default
545
 * @return mixed
546
 */
547
function get($name, $default = null)
548
{
549
    if (!Context::has()) {
550
        return Deployer::get()->config->get($name, $default);
551
    } else {
552
        return Context::get()->getConfig()->get($name, $default);
553
    }
554
}
555
556
/**
557
 * Check if there is such configuration option.
@@ 562-569 (lines=8) @@
559
 * @param string $name
560
 * @return boolean
561
 */
562
function has($name)
563
{
564
    if (!Context::has()) {
565
        return Deployer::get()->config->has($name);
566
    } else {
567
        return Context::get()->getConfig()->has($name);
568
    }
569
}
570
571
/**
572
 * @param string $message