diff --git a/tests/Kernel.php b/tests/Kernel.php index 1b3d0de82..a0ede51ac 100644 --- a/tests/Kernel.php +++ b/tests/Kernel.php @@ -26,7 +26,7 @@ class Kernel extends BaseKernel public function registerBundles(): iterable { - $contents = require __DIR__.'/app/config/bundles.php'; + $contents = require __DIR__ . '/app/config/bundles.php'; foreach ($contents as $class => $envs) { if ($envs[$this->environment] ?? $envs['all'] ?? false) { diff --git a/tests/app/config/bundles.php b/tests/app/config/bundles.php index e728a729f..36e3bcf03 100644 --- a/tests/app/config/bundles.php +++ b/tests/app/config/bundles.php @@ -34,7 +34,7 @@ return [ Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], - // Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], + //Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true], Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true], Knp\Bundle\TimeBundle\KnpTimeBundle::class => ['all' => true], @@ -44,4 +44,5 @@ return [ ChampsLibres\WopiBundle\WopiBundle::class => ['all' => true], Chill\WopiBundle\ChillWopiBundle::class => ['all' => true], \Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true], + ]; diff --git a/tests/symfony-container.php b/tests/symfony-container.php index f4f494948..fd093e94d 100644 --- a/tests/symfony-container.php +++ b/tests/symfony-container.php @@ -11,7 +11,7 @@ declare(strict_types=1); use App\Kernel; -require __DIR__.'/bootstrap.php'; +require __DIR__ . '/bootstrap.php'; $appKernel = new Kernel('test', false); $appKernel->boot();