Skip to content

Commit

Permalink
Use strict_variables in tests (#7849)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Jun 18, 2022
1 parent cddc750 commit dc6aeb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/App/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function configureContainer(ContainerBuilder $containerBuilder, Loader

$containerBuilder->loadFromExtension('twig', [
'default_path' => sprintf('%s/templates', $this->getProjectDir()),
'strict_variables' => '%kernel.debug%',
'strict_variables' => true,
'exception_controller' => null,
'form_themes' => ['@SonataAdmin/Form/form_admin_fields.html.twig'],
]);
Expand Down

0 comments on commit dc6aeb0

Please sign in to comment.