From 62f32ccadff77594f5b8e3ad24c4c2541ff35885 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 7 Aug 2025 22:19:45 +0200 Subject: PHPStan: finalise strictArrayFilter (#7794) As well as reportPossiblyNonexistentConstantArrayOffset. And disable PHPStan-next from GitHub Action, since the work is completed for now. --- cli/reconfigure.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/reconfigure.php') diff --git a/cli/reconfigure.php b/cli/reconfigure.php index ef86516f9..f2c86a8d4 100755 --- a/cli/reconfigure.php +++ b/cli/reconfigure.php @@ -113,7 +113,8 @@ foreach ($values as $name => $value) { } } -$db = array_merge(FreshRSS_Context::systemConf()->db, array_filter($dbValues)); +$db = array_merge(FreshRSS_Context::systemConf()->db, + array_filter($dbValues, fn(?string $v): bool => $v !== null && trim($v) !== '')); performRequirementCheck($db['type']); -- cgit v1.2.3