Skip to content

Commit

Permalink
Cast APP_DEBUG to bool
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Oct 10, 2022
1 parent e42f436 commit 960cae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/custom_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 960cae7

Please sign in to comment.