summaryrefslogtreecommitdiffstats
path: root/550c01b471c0deecf95647b7b48e7712623208da.patch
diff options
context:
space:
mode:
Diffstat (limited to '550c01b471c0deecf95647b7b48e7712623208da.patch')
-rw-r--r--550c01b471c0deecf95647b7b48e7712623208da.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/550c01b471c0deecf95647b7b48e7712623208da.patch b/550c01b471c0deecf95647b7b48e7712623208da.patch
deleted file mode 100644
index f5dd971..0000000
--- a/550c01b471c0deecf95647b7b48e7712623208da.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 550c01b471c0deecf95647b7b48e7712623208da Mon Sep 17 00:00:00 2001
-From: rbairwell <rbairwell@users.noreply.github.com>
-Date: Tue, 27 Aug 2019 20:53:57 +0100
-Subject: [PATCH] Fixes a problem with path based repositories on PHP7.4 where
- an attempt is made to access null as an array
-
----
- src/Composer/Repository/PathRepository.php | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/Composer/Repository/PathRepository.php b/src/Composer/Repository/PathRepository.php
-index 61ebc8d8cd3c..20dcbcd6faa0 100644
---- a/src/Composer/Repository/PathRepository.php
-+++ b/src/Composer/Repository/PathRepository.php
-@@ -155,7 +155,11 @@ protected function initialize()
-
- if (!isset($package['version'])) {
- $versionData = $this->versionGuesser->guessVersion($package, $path);
-- $package['version'] = $versionData['pretty_version'] ?: 'dev-master';
-+ if (is_array($versionData)) {
-+ $package['version'] = $versionData['pretty_version'] ?: 'dev-master';
-+ } else {
-+ $package['version'] = 'dev-master';
-+ }
- }
-
- $output = '';