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); } }