Skip to content

Commit 056c988

Browse files
Merge branch '3.4' into 4.4
* 3.4: [FrameworkBundle] Fix test
2 parents fdeeee1 + 8fb9bf9 commit 056c988

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/DependencyInjection/Compiler/UnusedTagsPassTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function testMissingWhitelistTags()
4141
$this->assertSame(UnusedTagsPassUtils::getDefinedTags(), $this->getWhitelistTags(), 'The src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php file must be updated; run src/Symfony/Bundle/FrameworkBundle/Resources/bin/check-unused-tags-whitelist.php.');
4242
}
4343

44-
private function getWhitelistTags()
44+
private function getWhitelistTags(): array
4545
{
4646
// get tags in UnusedTagsPass
4747
$target = \dirname(__DIR__, 3).'/DependencyInjection/Compiler/UnusedTagsPass.php';

Tests/DependencyInjection/Compiler/UnusedTagsPassUtils.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class UnusedTagsPassUtils
1717
{
18-
public static function getDefinedTags()
18+
public static function getDefinedTags(): array
1919
{
2020
$tags = [
2121
'proxy' => true,

0 commit comments

Comments
 (0)