summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--1603.patch11
1 files changed, 4 insertions, 7 deletions
diff --git a/1603.patch b/1603.patch
index a0aefa7..edc0221 100644
--- a/1603.patch
+++ b/1603.patch
@@ -1,4 +1,4 @@
-From ec5877cd9c46b3723cf34e21c5dc9c3147e682e4 Mon Sep 17 00:00:00 2001
+From 5843afa20a3e9d39580d710dd927736c747ad47b Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 29 Aug 2019 13:39:59 +0200
Subject: [PATCH] Fix: Trying to access array offset on value of type bool
@@ -8,7 +8,7 @@ Subject: [PATCH] Fix: Trying to access array offset on value of type bool
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Phinx/Migration/Manager.php b/src/Phinx/Migration/Manager.php
-index 8b7040a0..b9488a0d 100644
+index 8b7040a05..9cea06674 100644
--- a/src/Phinx/Migration/Manager.php
+++ b/src/Phinx/Migration/Manager.php
@@ -206,8 +206,8 @@ public function printStatus($environment, $format = null)
@@ -17,11 +17,8 @@ index 8b7040a0..b9488a0d 100644
$migration->getVersion(),
- $version['start_time'],
- $version['end_time'],
-+ ($version['start_time'] ?? ''),
-+ ($version['end_time'] ?? ''),
++ ($version ? $version['start_time'] : ''),
++ ($version ? $version['end_time'] : ''),
$migration->getName()
));
---
-2.20.1
-