From f365a9aeb44c33a1c817ae19a6027aa0fbffd706 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 19 Jun 2022 20:08:42 +0200 Subject: Update all test dependencies (#4419) * Update all test dependencies * Remove old false-positive * Minor update lock files * Increase PHPStan memory for Fedora https://github.com/FreshRSS/FreshRSS/pull/4400#issuecomment-1159514197 * Require PHP8+ for tests Due to small changes of signature in `ob_implicit_flush` and `simplexml_load_string`, cf. https://github.com/FreshRSS/FreshRSS/pull/4123 * Missing lint in CSS files --- app/Models/Feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Feed.php') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index b3692acbe..d4966f4e4 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -966,7 +966,7 @@ class FreshRSS_Feed extends Minz_Model { ' via hub ' . $hubJson['hub'] . ' with callback ' . $callbackUrl . ': ' . $info['http_code'] . ' ' . $response, PSHB_LOG); - if (substr($info['http_code'], 0, 1) == '2') { + if (substr('' . $info['http_code'], 0, 1) == '2') { return true; } else { $hubJson['lease_start'] = time(); //Prevent trying again too soon -- cgit v1.2.3