From 06570b30f0af1b4e4b4f1723bbb2ad0a4b83db6c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 30 Jan 2024 12:57:14 +0100 Subject: composer update (#6075) Update PHPStan, fixing some bugs needed for https://github.com/FreshRSS/FreshRSS/pull/6052 (One syntax fix caught by new version) Update also PHPUnit --- lib/lib_rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 62fe87375..9dfb26405 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -842,7 +842,7 @@ function getNonStandardShortcuts(array $shortcuts): array { $nonStandard = array_filter($shortcuts, static function (string $shortcut) use ($standard) { $shortcut = trim($shortcut); - return $shortcut !== '' & stripos($standard, $shortcut) === false; + return $shortcut !== '' && stripos($standard, $shortcut) === false; }); return $nonStandard; -- cgit v1.2.3