8000 bug #34562 [DI] Skip unknown method calls for factories in check type… · symfony/framework-bundle@6732258 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6732258

Browse files
bug #34562 [DI] Skip unknown method calls for factories in check types pass (fancyweb)
This PR was merged into the 4.4 branch. Discussion ---------- [DI] Skip unknown method calls for factories in check types pass | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | symfony/symfony#34559 | License | MIT | Doc PR | - Ref symfony/symfony#30885 and symfony/symfony#30889. Commits ------- 592bff88f2 [DI] Skip unknown method calls for factories in check types pass
2 parents 2c8c888 + a8302e2 commit 6732258

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Functional/Bundle/TestBundle/TestBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ public function process(ContainerBuilder $container)
4949
}
5050
});
5151

52-
$container->addCompilerPass(new CheckTypeDeclarationsPass(true, ['http_client', '.debug.http_client']), PassConfig::TYPE_AFTER_REMOVING, -100);
52+
$container->addCompilerPass(new CheckTypeDeclarationsPass(true), PassConfig::TYPE_AFTER_REMOVING, -100);
5353
}
5454
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"ext-xml": "*",
2121
"symfony/cache": "^4.4|^5.0",
2222
"symfony/config": "^4.3.4|^5.0",
23-
"symfony/dependency-injection": "^4.4|^5.0",
23+
"symfony/dependency-injection": "^4.4.1|^5.0.1",
2424
"symfony/http-foundation": "^4.4|^5.0",
2525
"symfony/http-kernel": "^4.4",
2626
"symfony/polyfill-mbstring": "~1.0",

0 commit comments

Comments
 (0)
0