From d8f96a46b05646442549254b39bcee597191ca55 Mon Sep 17 00:00:00 2001 From: Jellyfrog Date: Wed, 16 Feb 2022 14:10:32 +0100 Subject: [PATCH] Fix PHPStan Deprecated test (#13794) --- LibreNMS/Util/CiHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibreNMS/Util/CiHelper.php b/LibreNMS/Util/CiHelper.php index 934d5d7028..bbc214aa1c 100644 --- a/LibreNMS/Util/CiHelper.php +++ b/LibreNMS/Util/CiHelper.php @@ -286,7 +286,7 @@ class CiHelper if (! $this->flags['lint_skip_phpstan']) { $phpstan_cmd = [$this->checkPhpExec('phpstan'), 'analyze', '--no-interaction', '--memory-limit=2G']; - $return += $this->execute('PHPStan Deprecated', $phpstan_cmd + ['--configuration=phpstan-deprecated.neon']); + $return += $this->execute('PHPStan Deprecated', array_merge($phpstan_cmd, ['--configuration=phpstan-deprecated.neon'])); $return += $this->execute('PHPStan', $phpstan_cmd); } }