Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5bff8c5

Browse files
Merge branch '5.4' into 6.3
* 5.4: do not install FrameworkBundle 6.4 [Tests] Add `array` return type for provider methods
2 parents 95a1675 + f834fb5 commit 5bff8c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Bundle/WebProfilerBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": ">=8.1",
2020
"symfony/config": "^5.4|^6.0",
21-
"symfony/framework-bundle": "^5.4|^6.0",
21+
"symfony/framework-bundle": "^5.4|^6.0,<6.4",
2222
"symfony/http-kernel": "^6.3",
2323
"symfony/routing": "^5.4|^6.0",
2424
"symfony/twig-bundle": "^5.4|^6.0",

src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToRfc3339TransformerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ public static function allProvider(): array
4343
];
4444
}
4545

46-
public static function transformProvider()
46+
public static function transformProvider(): array
4747
{
4848
return self::allProvider();
4949
}
5050

51-
public static function reverseTransformProvider()
51+
public static function reverseTransformProvider(): array
5252
{
5353
return array_merge(self::allProvider(), [
5454
// format without seconds, as appears in some browsers
@@ -126,7 +126,7 @@ public function testReverseTransformExpectsValidDateString($date)
126126
$transformer->reverseTransform($date);
127127
}
128128

129-
public static function invalidDateStringProvider()
129+
public static function invalidDateStringProvider(): array
130130
{
131131
return [
132132
'invalid month' => ['2010-2010-01'],

0 commit comments

Comments
 (0)