File tree 1 file changed +3
-2
lines changed
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 18
18
use Symfony \Component \Config \Definition \Processor ;
19
19
use Symfony \Component \Lock \Store \SemaphoreStore ;
20
20
use Symfony \Component \Messenger \MessageBusInterface ;
21
+ use Symfony \Component \Validator \Validation ;
21
22
22
23
class ConfigurationTest extends TestCase
23
24
{
@@ -251,15 +252,15 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor
251
252
),
252
253
),
253
254
'messenger ' => array (
254
- 'enabled ' => !class_exists (FullStack::class) && class_exists (MessageBusInterface::class) ,
255
+ 'enabled ' => !class_exists (FullStack::class),
255
256
'routing ' => array (),
256
257
'middlewares ' => array (
257
258
'doctrine_transaction ' => array (
258
259
'enabled ' => false ,
259
260
'entity_manager_name ' => null ,
260
261
),
261
262
'validation ' => array (
262
- 'enabled ' => false ,
263
+ 'enabled ' => ! class_exists (FullStack::class) ,
263
264
),
264
265
),
265
266
),
You can’t perform that action at this time.
0 commit comments