Skip to content

Commit 0f2261b

Browse files
authored
minor #1586 [ci] handle deprecations
* [ci] explicitly disable automapping in regen tests * set throwables config value in regen tests
1 parent 09089bc commit 0f2261b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/Doctrine/EntityRegeneratorTest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,10 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
162162
'utf8' => true,
163163
],
164164
'http_method_override' => false,
165+
'handle_all_throwables' => true,
166+
'php_errors' => [
167+
'log' => true,
168+
],
165169
]);
166170

167171
$dbal = [
@@ -179,6 +183,9 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
179183
'type' => 'attribute',
180184
],
181185
],
186+
'controller_resolver' => [
187+
'auto_mapping' => false,
188+
],
182189
];
183190

184191
/* @legacy Remove conditional when doctrine/persistence <3.1 are no longer supported. */
@@ -222,6 +229,10 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
222229
'utf8' => true,
223230
],
224231
'http_method_override' => false,
232+
'handle_all_throwables' => true,
233+
'php_errors' => [
234+
'log' => true,
235+
],
225236
]);
226237

227238
$dbal = [
@@ -240,6 +251,9 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
240251
'alias' => 'EntityRegeneratorApp',
241252
],
242253
],
254+
'controller_resolver' => [
255+
'auto_mapping' => false,
256+
],
243257
];
244258

245259
/* @legacy Remove conditional when doctrine/persistence <3.1 are no longer supported. */

0 commit comments

Comments
 (0)