Skip to content

Commit

Permalink
minor #1586 [ci] handle deprecations
Browse files Browse the repository at this point in the history
* [ci] explicitly disable automapping in regen tests

* set throwables config value in regen tests
  • Loading branch information
jrushlow authored Aug 29, 2024
1 parent 09089bc commit 0f2261b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/Doctrine/EntityRegeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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. */
Expand Down Expand Up @@ -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 = [
Expand All @@ -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. */
Expand Down

0 comments on commit 0f2261b

Please sign in to comment.