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

src/Provider/UAParser.php 2 locations

@@ 125-142 (lines=18) @@
122
     * @param Model\Browser           $browser
123
     * @param \UAParser\Result\Client $resultRaw
124
     */
125
    private function hydrateBrowser(Model\Browser $browser, \UAParser\Result\Client $resultRaw)
126
    {
127
        if ($this->isRealResult($resultRaw->ua->family) === true) {
128
            $browser->setName($resultRaw->ua->family);
129
        }
130
131
        if ($this->isRealResult($resultRaw->ua->major) === true) {
132
            $browser->getVersion()->setMajor($resultRaw->ua->major);
133
        }
134
135
        if ($this->isRealResult($resultRaw->ua->minor) === true) {
136
            $browser->getVersion()->setMinor($resultRaw->ua->minor);
137
        }
138
139
        if ($this->isRealResult($resultRaw->ua->patch) === true) {
140
            $browser->getVersion()->setPatch($resultRaw->ua->patch);
141
        }
142
    }
143
144
    /**
145
     *
@@ 149-166 (lines=18) @@
146
     * @param Model\OperatingSystem   $os
147
     * @param \UAParser\Result\Client $resultRaw
148
     */
149
    private function hydrateOperatingSystem(Model\OperatingSystem $os, \UAParser\Result\Client $resultRaw)
150
    {
151
        if ($this->isRealResult($resultRaw->os->family) === true) {
152
            $os->setName($resultRaw->os->family);
153
        }
154
155
        if ($this->isRealResult($resultRaw->os->major) === true) {
156
            $os->getVersion()->setMajor($resultRaw->os->major);
157
        }
158
159
        if ($this->isRealResult($resultRaw->os->minor) === true) {
160
            $os->getVersion()->setMinor($resultRaw->os->minor);
161
        }
162
163
        if ($this->isRealResult($resultRaw->os->patch) === true) {
164
            $os->getVersion()->setPatch($resultRaw->os->patch);
165
        }
166
    }
167
168
    /**
169
     *