Skip to content

Commit a54bcbc

Browse files
Merge branch '6.4' into 7.0
* 6.4: [Console] Fix horizontal table top border is incorrectly rendered [Tests] Streamline [AssetMapper] Fixing bug where JSCompiler used non-absolute importmap entry path [FrameworkBundle] Fix BC break about enable_annotations in validation and serializer configuration [Uid] Fix UuidV7 collisions within the same ms [Validator] updated Romanian translation
2 parents 17a1612 + 399b845 commit a54bcbc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Tests/Controller/ProfilerControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public function testPhpinfoActionWithProfilerDisabled()
342342
$twig = $this->createMock(Environment::class);
343343

344344
$controller = new ProfilerController($urlGenerator, null, $twig, []);
345-
$controller->phpinfoAction(Request::create('/_profiler/phpinfo'));
345+
$controller->phpinfoAction();
346346
}
347347

348348
public function testPhpinfoAction()
@@ -391,7 +391,7 @@ public function testDownloadFontAction()
391391
$this->assertStringContainsString('font/woff2', $client->getResponse()->headers->get('content-type'));
392392
}
393393

394-
public static function provideCspVariants()
394+
public static function provideCspVariants(): array
395395
{
396396
return [
397397
[true],

Tests/Csp/ContentSecurityPolicyHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testOnKernelResponse($nonce, $expectedNonce, Request $request, R
4646
}
4747
}
4848

49-
public static function provideRequestAndResponses()
49+
public static function provideRequestAndResponses(): array
5050
{
5151
$nonce = bin2hex(random_bytes(16));
5252

@@ -73,7 +73,7 @@ public static function provideRequestAndResponses()
7373
];
7474
}
7575

76-
public static function provideRequestAndResponsesForOnKernelResponse()
76+
public static function provideRequestAndResponsesForOnKernelResponse(): array
7777
{
7878
$nonce = bin2hex(random_bytes(16));
7979

Tests/EventListener/WebDebugToolbarListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function testToolbarIsNotInjectedOnRedirection($statusCode)
148148
$this->assertEquals('<html><head></head><body></body></html>', $response->getContent());
149149
}
150150

151-
public static function provideRedirects()
151+
public static function provideRedirects(): array
152152
{
153153
return [
154154
[301],

Tests/Resources/IconTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testIconFileContents($iconFilePath)
3232
$this->assertMatchesRegularExpression('~<svg .* viewBox="0 0 \d+ \d+".+>.*</svg>~s', file_get_contents($iconFilePath), sprintf('The SVG file of the "%s" icon must include a "viewBox" attribute.', $iconFilePath));
3333
}
3434

35-
public static function provideIconFilePaths()
35+
public static function provideIconFilePaths(): array
3636
{
3737
return array_map(fn ($filePath) => (array) $filePath, glob(__DIR__.'/../../Resources/views/Icon/*.svg'));
3838
}

0 commit comments

Comments
 (0)