diff --git a/composer.json b/composer.json index b12f41d..bd1859a 100644 --- a/composer.json +++ b/composer.json @@ -12,14 +12,15 @@ ], "require": { "php": ">=8.1", - "symfony/form": "^6.3" + "symfony/form": "^5.4|^6.3|^7.0" }, "require-dev": { - "symfony/framework-bundle": "^6.3", - "symfony/phpunit-bridge": "^6.3", - "phpstan/phpstan": "1.11.x-dev", - "zenstruck/browser": "1.x-dev", - "symfony/twig-bundle": "7.0.x-dev" + "symfony/framework-bundle": "^6.3|^7.0", + "symfony/phpunit-bridge": "^5.4|^6.3|^7.0", + "phpstan/phpstan": "^1.11", + "zenstruck/browser": "^1.4", + "symfony/twig-bundle": "^6.3|^7.0", + "twig/twig": "^2.15|^3.0" }, "minimum-stability": "dev", "autoload": { diff --git a/tests/fixtures/DynamicFormsTestKernel.php b/tests/fixtures/DynamicFormsTestKernel.php index ae997f2..b9f5a87 100644 --- a/tests/fixtures/DynamicFormsTestKernel.php +++ b/tests/fixtures/DynamicFormsTestKernel.php @@ -59,6 +59,10 @@ protected function configureContainer(ContainerConfigurator $container): void 'secret' => 'foo000', 'http_method_override' => false, 'test' => true, + 'handle_all_throwables' => true, + 'php_errors' => [ + 'log' => true, + ], ]); $container->extension('twig', [