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 2 locations

src/Provider/PiwikDeviceDetector.php 1 location

@@ 89-96 (lines=8) @@
86
     * @param  DeviceDetector            $parser
87
     * @throws PackageNotLoadedException
88
     */
89
    public function __construct(DeviceDetector $parser = null)
90
    {
91
        if ($parser === null && ! file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
92
            throw new PackageNotLoadedException('You need to install the package ' . $this->getPackageName() . ' to use this provider');
93
        }
94
95
        $this->parser = $parser;
96
    }
97
98
    /**
99
     *

src/Provider/UAParser.php 1 location

@@ 97-104 (lines=8) @@
94
     * @param  Parser                    $parser
95
     * @throws PackageNotLoadedException
96
     */
97
    public function __construct(Parser $parser = null)
98
    {
99
        if ($parser === null && ! file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
100
            throw new PackageNotLoadedException('You need to install the package ' . $this->getPackageName() . ' to use this provider');
101
        }
102
103
        $this->parser = $parser;
104
    }
105
106
    /**
107
     *