Skip to content

Commit

Permalink
[TASK] Use correct command dispatch in runTests.sh
Browse files Browse the repository at this point in the history
The command dispatch for `-s phpstanGenerateBaseline`
is modified to a simple command dispatch instead of
the bash expansion - which is not needed in this case.

Resolves: #103106
Releases: main, 12.4, 11.5
Change-Id: I771945f2a0751cbf4d350ffe0e8e8f2d78a04d86
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82934
Tested-by: core-ci <typo3@b13.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Benjamin Franzke <ben@bnf.dev>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
  • Loading branch information
sbuerk committed Feb 22, 2024
1 parent cd85d90 commit 279bd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Scripts/runTests.sh
Expand Up @@ -962,7 +962,7 @@ case ${TEST_SUITE} in
;;
phpstanGenerateBaseline)
COMMAND="php -dxdebug.mode=off bin/phpstan analyse -c Build/phpstan/${PHPSTAN_CONFIG_FILE} --no-progress --no-interaction --memory-limit 4G --generate-baseline=Build/phpstan/phpstan-baseline.neon"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name phpstan-baseline-${SUFFIX} ${IMAGE_PHP} "${COMMAND[@]}"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name phpstan-baseline-${SUFFIX} ${IMAGE_PHP} /bin/sh -c "${COMMAND}"
SUITE_EXIT_CODE=$?
;;
unit)
Expand Down

0 comments on commit 279bd02

Please sign in to comment.