Skip to content

Commit 1b603d8

Browse files
fix tests
1 parent ec221d6 commit 1b603d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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)