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

Tests/DependencyInjection/CustomHandlerPassTest.php 2 locations

@@ 170-186 (lines=17) @@
167
        $pass->process($container);
168
    }
169
170
    public function testSubscribingHandler()
171
    {
172
        $container = $this->getContainer();
173
174
        $def = new Definition('JMS\SerializerBundle\Tests\DependencyInjection\Fixture\SubscribingHandler');
175
        $def->addTag('jms_serializer.subscribing_handler');
176
        $container->setDefinition('my_service', $def);
177
178
        $pass = new CustomHandlersPass();
179
        $pass->process($container);
180
181
        $args = $container->getDefinition('jms_serializer.handler_registry')->getArguments();
182
183
        $this->assertSame([
184
            1 => ['DateTime' => ['json' => ['my_service', 'onDateTime']]]
185
        ], $args[1]);
186
    }
187
188
    public function testSubscribingHandlerCanBePrivate()
189
    {
@@ 188-205 (lines=18) @@
185
        ], $args[1]);
186
    }
187
188
    public function testSubscribingHandlerCanBePrivate()
189
    {
190
        $container = $this->getContainer();
191
192
        $def = new Definition('JMS\SerializerBundle\Tests\DependencyInjection\Fixture\SubscribingHandler');
193
        $def->addTag('jms_serializer.subscribing_handler');
194
        $def->setPublic(false);
195
        $container->setDefinition('my_service', $def);
196
197
        $pass = new CustomHandlersPass();
198
        $pass->process($container);
199
200
        $args = $container->getDefinition('jms_serializer.handler_registry')->getArguments();
201
202
        $this->assertEquals([
203
            1 => ['DateTime' => ['json' => [new Reference('my_service'), 'onDateTime']]]
204
        ], $args[1]);
205
    }
206
207
    /**
208
     * @expectedException RuntimeException