Skip to content

Commit fbea8d2

Browse files
Merge branch '6.4' into 7.0
* 6.4: Fix merge [Routing] Fixed priority getting lost when defining prefix array [DoctrineBridge]  Fix detection of Xml/Yaml driver in DoctrineExtension [Messenger] PhpSerializer: TypeError should throw MessageDecodingFailedException
2 parents dc9b5ef + 9c9a44b commit fbea8d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ protected function registerMappingDrivers(array $objectManager, ContainerBuilder
193193
array_values($driverPaths),
194194
]);
195195
}
196-
if (str_contains($mappingDriverDef->getClass(), 'yml') || str_contains($mappingDriverDef->getClass(), 'xml')) {
196+
if (str_contains($mappingDriverDef->getClass(), 'yml') || str_contains($mappingDriverDef->getClass(), 'xml')
197+
|| str_contains($mappingDriverDef->getClass(), 'Yaml') || str_contains($mappingDriverDef->getClass(), 'Xml')
198+
) {
197199
$mappingDriverDef->setArguments([array_flip($driverPaths)]);
198200
$mappingDriverDef->addMethodCall('setGlobalBasename', ['mapping']);
199201
}

0 commit comments

Comments
 (0)