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

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