From ea6b0836c4bd5313656ab632557f579a863a01e3 Mon Sep 17 00:00:00 2001 From: Yanick Witschi Date: Mon, 1 Feb 2021 15:17:02 +0100 Subject: [PATCH] Allow to override Installer::createPlatformRepo --- src/Composer/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index e9f0bd74e..1a7c5e694 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -708,7 +708,7 @@ class Installer return 0; } - private function createPlatformRepo($forUpdate) + protected function createPlatformRepo($forUpdate) { if ($forUpdate) { $platformOverrides = $this->config->get('platform') ?: array();