summaryrefslogtreecommitdiffstats
path: root/550c01b471c0deecf95647b7b48e7712623208da.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-11-02 08:56:46 +0100
committerRemi Collet <remi@remirepo.net>2019-11-02 08:56:46 +0100
commit527ef90c808aa04e6f388f582a27b2b8f731bc56 (patch)
tree8ae4de66c2cd55b84320281ffcf2864133d02314 /550c01b471c0deecf95647b7b48e7712623208da.patch
parent079887d6ec16faf627cd9d6fbb1f967a47600dbc (diff)
v1.9.1
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 = '';