<?php

namespace P2\Bundle\BootstrapBundle;

use P2\Bundle\BootstrapBundle\DependencyInjection\Compiler\ThemePass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class P2BootstrapBundle extends Bundle
{
    public function build(ContainerBuilder $container)
    {
        $container->addCompilerPass(new ThemePass());
    }
}

<?php

namespace P2\Bundle\BootstrapBundle;

use P2\Bundle\BootstrapBundle\DependencyInjection\Compiler\ThemePass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class P2BootstrapBundle extends Bundle
{
}

Remove deprecated compiler pass dependency
Remove deprecated compiler pass dependency
