From eb8e65e7d37ae4b7639127589ac8eb341956ef18 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Tue, 28 Jun 2022 09:46:17 +0100 Subject: [PATCH] Issue #3292992 by Spokje: [#3280589] broke HEAD on 10.0.x and 10.1.x --- composer.lock | 5 +---- .../Drupal/Tests/Core/Composer/ComposerDeprecationTest.php | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 74e3e94c15ed..d6cc5cba84f4 100644 --- a/composer.lock +++ b/composer.lock @@ -526,7 +526,7 @@ "dist": { "type": "path", "url": "core", - "reference": "b8e7373820b4dd2f5cfcae1d6a5c1ab37e914e2e" + "reference": "3f1e55b2f2e419fb566ec0ef8e8c148aed30b1eb" }, "require": { "asm89/stack-cors": "^1.3", @@ -765,9 +765,6 @@ "scripts": { "pre-autoload-dump": [ "Drupal\\Core\\Composer\\Composer::preAutoloadDump" - ], - "post-autoload-dump": [ - "Drupal\\Core\\Composer\\Composer::ensureHtaccess" ] }, "license": [ diff --git a/core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php b/core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php index 662275b1b205..4998009f4b8f 100644 --- a/core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php +++ b/core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php @@ -56,6 +56,9 @@ public function testVendorTestCodeCleanup() { $package = $this->prophesize(Package::class); $operation->getTargetPackage()->willReturn($package->reveal()); + $package->getName()->willReturn('foo'); + $package->getPrettyName()->willReturn('foo'); + $io = $this->prophesize(IOInterface::class); $event->getIO()->willReturn($io->reveal()); -- GitLab