diff options
author | Remi Collet <remi@remirepo.net> | 2021-09-01 09:03:31 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-09-01 09:03:31 +0200 |
commit | 87aae0e7e158df9c2ffff1dee9f017237a823f91 (patch) | |
tree | 8f61d362cebb2b918f0a1b1e4ed592ad0ac662b4 /event-php81.patch | |
parent | 31535433d7c199457ae5928d60a79ed68fd156d5 (diff) |
rebuild for 8.1.0RC1
Diffstat (limited to 'event-php81.patch')
-rw-r--r-- | event-php81.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/event-php81.patch b/event-php81.patch deleted file mode 100644 index f4144a1..0000000 --- a/event-php81.patch +++ /dev/null @@ -1,30 +0,0 @@ -From d4bf4d70181dea17985af1bd52748b0f678a4b8c Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Fri, 11 Jun 2021 12:56:43 +0200 -Subject: [PATCH] Fix deprecated: strlen(): Passing null to parameter... - ---- - tests/29-buffer-pullup.phpt | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/tests/29-buffer-pullup.phpt b/tests/29-buffer-pullup.phpt -index b62b440..32bae4a 100644 ---- a/tests/29-buffer-pullup.phpt -+++ b/tests/29-buffer-pullup.phpt -@@ -14,7 +14,12 @@ foreach ($a as $s) { - $b = new $eventBuffereClass(); - $b->add($s); - $s_pullup = $b->pullup(-1); -- var_dump(strlen($s_pullup) == strlen($s) && $s_pullup == $s); -+ if (is_null($s_pullup)) { -+ // pullup return null when no data availble+ -+ var_dump(empty($s)); -+ } else { -+ var_dump(strlen($s_pullup) == strlen($s) && $s_pullup == $s); -+ } - } - ?> - --EXPECT-- --- -2.31.1 - |