Skip to content

Commit b55b949

Browse files
Merge branch '7.0' into 7.1
* 7.0: 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 0aa01d9 + fbea8d2 commit b55b949

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)