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/Messenger.php 2 locations

@@ 253-260 (lines=8) @@
250
    /**
251
     * @param string $line
252
     */
253
    protected function write($line)
254
    {
255
        if (isset($this->options['write'])) {
256
            $streamName = $this->options['write'];
257
            $this->$streamName->write($line);
258
            unset($streamName);
259
        }
260
    }
261
262
    /**
263
     * @param string $line
@@ 265-272 (lines=8) @@
262
    /**
263
     * @param string $line
264
     */
265
    protected function writeErr($line)
266
    {
267
        if (isset($this->options['write_err'])) {
268
            $streamName = $this->options['write_err'];
269
            $this->$streamName->write($line);
270
            unset($streamName);
271
        }
272
    }
273
274
    /**
275
     * @param string $data