summaryrefslogtreecommitdiffstats
path: root/composer-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'composer-rpm.patch')
-rw-r--r--composer-rpm.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/composer-rpm.patch b/composer-rpm.patch
index bbf0feb..5f05a85 100644
--- a/composer-rpm.patch
+++ b/composer-rpm.patch
@@ -108,3 +108,18 @@ diff -up ./tests/Composer/Test/PolyfillTestCase.php.rpm ./tests/Composer/Test/Po
} else {
abstract class PolyfillTestCase extends TestCase
{
+--- ./src/Composer/InstalledVersions.php.rpm 2021-06-07 08:18:59.326450774 +0200
++++ ./src/Composer/InstalledVersions.php 2021-06-07 08:19:11.525413189 +0200
+@@ -315,10 +315,9 @@
+ }
+ }
+
+- if (null === self::$installed) {
+- self::$installed = require __DIR__ . '/installed.php';
++ if (null !== self::$installed) {
++ $installed[] = self::$installed;
+ }
+- $installed[] = self::$installed;
+
+ return $installed;
+ }