From 960cae709cec19c3b5931c51cad2b5f016261b0e Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Mon, 10 Oct 2022 17:53:36 +0200 Subject: [PATCH] Cast APP_DEBUG to bool --- tests/custom_bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/custom_bootstrap.php b/tests/custom_bootstrap.php index 85798e61f..aa6e0c570 100644 --- a/tests/custom_bootstrap.php +++ b/tests/custom_bootstrap.php @@ -17,7 +17,7 @@ use Symfony\Component\Console\Output\NullOutput; use Symfony\Component\Filesystem\Filesystem; -$kernel = new AppKernel($_SERVER['APP_ENV'], $_SERVER['APP_DEBUG']); +$kernel = new AppKernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']); $application = new Application($kernel); $application->setAutoExit(false);