From 0f2261b45bfbc24cd24a58e5dfcc4ac645249832 Mon Sep 17 00:00:00 2001 From: Jesse Rushlow <40327885+jrushlow@users.noreply.github.com> Date: Thu, 29 Aug 2024 18:21:06 -0400 Subject: [PATCH] minor #1586 [ci] handle deprecations * [ci] explicitly disable automapping in regen tests * set throwables config value in regen tests --- tests/Doctrine/EntityRegeneratorTest.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/Doctrine/EntityRegeneratorTest.php b/tests/Doctrine/EntityRegeneratorTest.php index 4d2b251cb..813946b3b 100644 --- a/tests/Doctrine/EntityRegeneratorTest.php +++ b/tests/Doctrine/EntityRegeneratorTest.php @@ -162,6 +162,10 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load 'utf8' => true, ], 'http_method_override' => false, + 'handle_all_throwables' => true, + 'php_errors' => [ + 'log' => true, + ], ]); $dbal = [ @@ -179,6 +183,9 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load 'type' => 'attribute', ], ], + 'controller_resolver' => [ + 'auto_mapping' => false, + ], ]; /* @legacy Remove conditional when doctrine/persistence <3.1 are no longer supported. */ @@ -222,6 +229,10 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load 'utf8' => true, ], 'http_method_override' => false, + 'handle_all_throwables' => true, + 'php_errors' => [ + 'log' => true, + ], ]); $dbal = [ @@ -240,6 +251,9 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load 'alias' => 'EntityRegeneratorApp', ], ], + 'controller_resolver' => [ + 'auto_mapping' => false, + ], ]; /* @legacy Remove conditional when doctrine/persistence <3.1 are no longer supported. */