8000 fix tests · symfony/symfony@e91c0b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit e91c0b8

Browse files
fix tests
1 parent ac98a13 commit e91c0b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,6 +1486,11 @@ final public static function willBeAvailable(string $package, string $class, arr
14861486
// the package is installed but in dev-mode only, check if this applies to one of the parent packages too
14871487

14881488
$rootPackage = InstalledVersions::getRootPackage()['name'] ?? '';
1489+
1490+
if ('symfony/symfony' === $rootPackage) {
1491+
return true;
1492+
}
1493+
14891494
foreach ($parentPackages as $parentPackage) {
14901495
if ($rootPackage === $parentPackage || (InstalledVersions::isInstalled($parentPackage) && !InstalledVersions::isInstalled($parentPackage, false))) {
14911496
return true;

0 commit comments

Comments
 (0)
0