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

< 40 %
40-60 %
> 60 %
1
<?php
2
3
/*
4
 * This file is part of Transfer.
5
 *
6
 * For the full copyright and license information, please view the LICENSE file located
7
 * in the root directory.
8
 */
9
10
namespace Transfer\Bundle;
11
12
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
13
use Symfony\Component\DependencyInjection\ContainerBuilder;
14
use Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass;
15
use Symfony\Component\HttpKernel\Bundle\Bundle;
16
use Transfer\Bundle\DependencyInjection\CompilerPass\ManifestCompilerPass;
17
18
class TransferBundle extends Bundle
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23 1
    public function build(ContainerBuilder $container)
24
    {
25 1
        parent::build($container);
26
27 1
        $container->addCompilerPass(new ManifestCompilerPass());
28
29 1
        $container->addCompilerPass(
30 1
            new RegisterListenersPass(
31 1
                'transfer.event_dispatcher',
32 1
                'transfer.event_listener',
33
                'transfer.event_subscriber'
34 1
            ),
35
            PassConfig::TYPE_BEFORE_REMOVING
36 1
        );
37 1
    }
38
}
39