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

src/Messenger.php 2 locations

@@ 235-241 (lines=7) @@
232
        /**
233
         * @todo duplicated code much?
234
         */
235
        if (isset($this->options['read_err'])) {
236
            $streamName = $this->options['read_err'];
237
            $this->$streamName->on('data', function ($data) use ($streamName) {
238
                $this->onData($data, $streamName);
239
            });
240
            unset($streamName);
241
        }
242
243
        if (isset($this->options['read'])) {
244
            $streamName = $this->options['read'];
@@ 243-249 (lines=7) @@
240
            unset($streamName);
241
        }
242
243
        if (isset($this->options['read'])) {
244
            $streamName = $this->options['read'];
245
            $this->$streamName->on('data', function ($data) use ($streamName) {
246
                $this->onData($data, $streamName);
247
            });
248
            unset($streamName);
249
        }
250
    }
251
252
    /**