Fix PHPStan Deprecated test (#13794)

This commit is contained in:
Jellyfrog
2022-02-16 14:10:32 +01:00
committed by GitHub
parent 39dde372d9
commit d8f96a46b0

View File

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