From 3fb91ffc471e72447fe474740a8136a1936e64ed Mon Sep 17 00:00:00 2001
From: Adam G-H <32250-phenaproxima@users.noreply.drupalcode.org>
Date: Sat, 3 Jun 2023 02:22:56 +0000
Subject: [PATCH] Issue #3364514 by tedbow, phenaproxima: Build test failing on
 10.0.x

---
 composer.json                                         | 5 +++--
 package_manager/src/PackageManagerServiceProvider.php | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/composer.json b/composer.json
index 9653416213..d3edd88e45 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,8 @@
         "ext-json": "*",
         "drupal/core": "^9.7 || ^10",
         "php-tuf/composer-stager": "2.0-alpha1",
-        "composer-runtime-api": "^2.1"
+        "composer-runtime-api": "^2.1",
+        "symfony/config": "^6.2"
     },
     "require-dev": {
         "colinodell/psr-testlogger": "^1.2",
@@ -51,4 +52,4 @@
             }
         }
     }
-}
\ No newline at end of file
+}
diff --git a/package_manager/src/PackageManagerServiceProvider.php b/package_manager/src/PackageManagerServiceProvider.php
index 45c0783bb5..6230aafd93 100644
--- a/package_manager/src/PackageManagerServiceProvider.php
+++ b/package_manager/src/PackageManagerServiceProvider.php
@@ -108,6 +108,7 @@ final class PackageManagerServiceProvider extends ServiceProviderBase {
       'class_resolver' => 'Drupal\Core\DependencyInjection\ClassResolverInterface',
       'request_stack' => 'Symfony\Component\HttpFoundation\RequestStack',
       'theme_handler' => 'Drupal\Core\Extension\ThemeHandlerInterface',
+      'cron' => 'Drupal\Core\CronInterface',
     ];
     foreach ($aliases as $service_id => $alias) {
       if (!$container->hasAlias($alias)) {
-- 
GitLab