Skip to content

Commit bb65c4d

Browse files
Merge branch '4.1'
* 4.1: [HttpKernel] fix PHP 5.4 compat Fix surrogate not using original request [Finder] Update RealIteratorTestCase [Routing] remove unneeded dev dep on doctrine/common [minor] SCA [Validator] Remove BOM in some xlf files Ensure updateTimestamp returns a boolean Fix #27378: Error when rendering a DateIntervalType form with exactly 0 weeks [HttpKernel] fix session tracking in surrogate master requests
2 parents f724bab + bb3cf38 commit bb65c4d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tests/DependencyInjection/DoctrineExtensionTest.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,7 @@ public function testLoadBasicCacheDriver(string $class, array $config, array $ex
204204
$definition = $container->getDefinition('doctrine.orm.default_metadata_cache');
205205
$defCalls = $definition->getMethodCalls();
206206
$expectedCalls[] = 'setNamespace';
207-
$actualCalls = array_map(function (array $call) {
208-
return $call[0];
209-
}, $defCalls);
207+
$actualCalls = array_column($defCalls, 0);
210208

211209
$this->assertFalse($definition->isPublic());
212210
$this->assertEquals("%$class%", $definition->getClass());

0 commit comments

Comments
 (0)