From 664f37ae71eba123a5ee5b1ad3f4a54329b8f484 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Sat, 4 Oct 2025 21:20:32 +0000 Subject: Appeasing PHPStan. The two if statements involved are related to calls to 'tt-rss.org' that are intentionally disabled. --- classes/Pref_Prefs.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes/Pref_Prefs.php') diff --git a/classes/Pref_Prefs.php b/classes/Pref_Prefs.php index 2697ed6e9..c50e61016 100644 --- a/classes/Pref_Prefs.php +++ b/classes/Pref_Prefs.php @@ -1302,6 +1302,7 @@ class Pref_Prefs extends Handler_Protected { // $content = json_decode(UrlHelper::fetch(['url' => 'https://tt-rss.org/plugins.json']), true); $content = false; + /** @phpstan-ignore if.alwaysFalse (intentionally disabling for now) */ if ($content) { return $content; } -- cgit v1.2.3-54-g00ecf