summaryrefslogtreecommitdiffstats
path: root/50.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-05 07:22:51 +0100
committerRemi Collet <remi@remirepo.net>2017-12-05 07:22:51 +0100
commitee9a8d416e45fbbdbb5aafdb5e6f48f69a87e376 (patch)
treea33fc49b0fb7efd6f8c08851f4b9a663fe28df58 /50.patch
parentd757bbe8aca388521312c8ae3cbc27fadab36160 (diff)
Update to 2.9.0
raise dependency on zend-escaper 2.5.2 raise dependency on zend-stdlib 2.7.7 raise dependency on psr/http-message 1.0.1
Diffstat (limited to '50.patch')
-rw-r--r--50.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/50.patch b/50.patch
deleted file mode 100644
index a1c5100..0000000
--- a/50.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From e50e94da5e23a9d33ef3959c4d1239eec2b1a907 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 24 Oct 2017 12:40:39 +0200
-Subject: [PATCH] fix warning 'Parameter must be an array or an object that
- implements Countable' (PHP 7.2)
-
----
- src/PubSubHubbub/Model/Subscription.php | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/PubSubHubbub/Model/Subscription.php b/src/PubSubHubbub/Model/Subscription.php
-index 97333ffe..9780b6a8 100644
---- a/src/PubSubHubbub/Model/Subscription.php
-+++ b/src/PubSubHubbub/Model/Subscription.php
-@@ -71,7 +71,7 @@ public function getSubscription($key)
- .' of "' . $key . '" must be a non-empty string');
- }
- $result = $this->db->select(['id' => $key]);
-- if (count($result)) {
-+ if ($result && count($result)) {
- return $result->current()->getArrayCopy();
- }
- return false;
-@@ -91,7 +91,7 @@ public function hasSubscription($key)
- .' of "' . $key . '" must be a non-empty string');
- }
- $result = $this->db->select(['id' => $key]);
-- if (count($result)) {
-+ if ($result && count($result)) {
- return true;
- }
- return false;
-@@ -106,7 +106,7 @@ public function hasSubscription($key)
- public function deleteSubscription($key)
- {
- $result = $this->db->select(['id' => $key]);
-- if (count($result)) {
-+ if ($result && count($result)) {
- $this->db->delete(
- ['id' => $key]
- );