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

Tests/DependencyInjection/EventSubscribersAndListenersPassTest.php 2 locations

@@ 109-117 (lines=9) @@
106
        $methodCalls = $dispatcher->getMethodCalls();
107
108
        $called = false;
109
        foreach ($methodCalls as $call) {
110
            if ($call[0] === 'setListeners') {
111
                $called = true;
112
113
                $this->assertArrayHasKey('serializer.pre_serialize', $call[1][0]);
114
                $this->assertInstanceOf(ServiceClosureArgument::class, $call[1][0]['serializer.pre_serialize'][0][0][0]);
115
                $this->assertEquals('onserializerpreserialize', $call[1][0]['serializer.pre_serialize'][0][0][1]);
116
            }
117
        }
118
119
        if (!$called) {
120
            $this->fail("The method setListeners was not invoked on the jms_serializer.event_dispatcher");
@@ 296-303 (lines=8) @@
293
        $methodCalls = $dispatcher->getMethodCalls();
294
295
        $called = false;
296
        foreach ($methodCalls as $call) {
297
            if ($call[0] === 'setListeners') {
298
                $called = true;
299
                $this->assertArrayHasKey('the-event-name', $call[1][0]);
300
                $this->assertInstanceOf(ServiceClosureArgument::class, $call[1][0]['the-event-name'][0][0][0]);
301
                $this->assertEquals('onEventName', $call[1][0]['the-event-name'][0][0][1]);
302
            }
303
        }
304
305
        if (!$called) {
306
            $this->fail("The method setListeners was not invoked on the jms_serializer.event_dispatcher");