diff options
author | Remi Collet <remi@remirepo.net> | 2019-09-20 11:17:53 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-09-20 11:17:53 +0200 |
commit | f7d7306841c32f1d65cfec2fa9788cd38cd8b1af (patch) | |
tree | 017854f3d6d411105ce2edb9ee39f13a8c0a2fe3 /5.patch | |
parent | 063bd2e5a19207d7574a51d58c1833ac8927c834 (diff) |
- update to 1.3.9
- drop patch merged upstream
Diffstat (limited to '5.patch')
-rw-r--r-- | 5.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/5.patch b/5.patch deleted file mode 100644 index 9ebaacf..0000000 --- a/5.patch +++ /dev/null @@ -1,36 +0,0 @@ -From e6cbc5cd2ac0189cbddfe0bf585655ef9dbab2ab Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Fri, 13 Sep 2019 11:50:37 +0200 -Subject: [PATCH] Fix: Trying to access array offset on value of type bool - ---- - src/Bidi.php | 2 +- - test/BidiTest.php | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/Bidi.php b/src/Bidi.php -index 3da33c7..cb49a41 100644 ---- a/src/Bidi.php -+++ b/src/Bidi.php -@@ -176,7 +176,7 @@ protected function setInput($str = null, $chrarr = null, $ordarr = null, $forcer - $this->str = $str; - $this->chrarr = $chrarr; - $this->ordarr = $ordarr; -- $this->forcertl = (($forcertl === false) ? false : strtoupper($forcertl[0])); -+ $this->forcertl = (is_string($forcertl) ? strtoupper($forcertl[0]) : false); - } - - /** -diff --git a/test/BidiTest.php b/test/BidiTest.php -index 6fed41f..5b9cb0c 100644 ---- a/test/BidiTest.php -+++ b/test/BidiTest.php -@@ -86,7 +86,7 @@ public function bidiStrDataProvider() - array( - "\n\nABC\nEFG\n\nHIJ\n\n", - "\n\nABC\nEFG\n\nHIJ\n\n", -- true -+ 'L' - ), - array( - json_decode('"\u202EABC\u202C"'), |