You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-05 12:32:55 +01:00
rename symfony bundles names to fix symfony flex bundle auto register
This commit is contained in:
@@ -4,6 +4,6 @@ namespace Flasher\Notyf\Symfony;
|
||||
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class FlasherNotyfBundle extends Bundle
|
||||
class FlasherNotyfSymfonyBundle extends Bundle
|
||||
{
|
||||
}
|
||||
@@ -4,9 +4,9 @@ namespace Flasher\Notyf\Symfony\Tests\DependencyInjection;
|
||||
|
||||
use Flasher\Prime\Tests\TestCase;
|
||||
use Flasher\Symfony\DependencyInjection\FlasherExtension;
|
||||
use Flasher\Symfony\FlasherBundle;
|
||||
use Flasher\Symfony\FlasherSymfonyBundle;
|
||||
use Flasher\Notyf\Symfony\DependencyInjection\FlasherNotyfExtension;
|
||||
use Flasher\Notyf\Symfony\FlasherNotyfBundle;
|
||||
use Flasher\Notyf\Symfony\FlasherNotyfSymfonyBundle;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
|
||||
class FlasherNotyfExtensionTest extends TestCase
|
||||
@@ -41,11 +41,11 @@ class FlasherNotyfExtensionTest extends TestCase
|
||||
$container = new ContainerBuilder();
|
||||
|
||||
$container->registerExtension(new FlasherExtension());
|
||||
$flasherBundle = new FlasherBundle();
|
||||
$flasherBundle = new FlasherSymfonyBundle();
|
||||
$flasherBundle->build($container);
|
||||
|
||||
$container->registerExtension(new FlasherNotyfExtension());
|
||||
$adapterBundle = new FlasherNotyfBundle();
|
||||
$adapterBundle = new FlasherNotyfSymfonyBundle();
|
||||
$adapterBundle->build($container);
|
||||
|
||||
$container->getCompilerPassConfig()->setOptimizationPasses(array());
|
||||
|
||||
Reference in New Issue
Block a user