mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-24 23:36:12 +01:00

[FEATURE] Support for php 8.4 in runTests.sh

Related: #1363
This commit is contained in:
Eike Starkmann 2024-07-31 12:43:40 +02:00 committed by Oliver Klee
parent 99a2b7f176
commit 06e96d9c41

View file

@ -223,13 +223,14 @@ Options:
- 11.5: use TYPO3 v11 with typo3/cms-composer-installers ^3 - 11.5: use TYPO3 v11 with typo3/cms-composer-installers ^3
- 12.4: (default) use TYPO3 v12 with typo3/cms-composer-installers ^5 - 12.4: (default) use TYPO3 v12 with typo3/cms-composer-installers ^5
-p <7.4|8.0|8.1|8.2|8.3> -p <7.4|8.0|8.1|8.2|8.3|8.4>
Specifies the PHP minor version to be used Specifies the PHP minor version to be used
- 7.4: use PHP 7.4 - 7.4: use PHP 7.4
- 8.0: use PHP 8.0 - 8.0: use PHP 8.0
- 8.1: use PHP 8.1 - 8.1: use PHP 8.1
- 8.2: use PHP 8.2 - 8.2: use PHP 8.2
- 8.3: (default) use PHP 8.3 - 8.3: (default) use PHP 8.3
- 8.4: use PHP 8.4
-e "<phpunit options>" -e "<phpunit options>"
Only with -s functional|functionalDeprecated|unit|unitDeprecated|unitRandom Only with -s functional|functionalDeprecated|unit|unitDeprecated|unitRandom
@ -360,7 +361,7 @@ while getopts "a:b:s:d:i:p:e:t:xy:o:nhu" OPT; do
;; ;;
p) p)
PHP_VERSION=${OPTARG} PHP_VERSION=${OPTARG}
if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2|8.3)$ ]]; then if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2|8.3|8.4)$ ]]; then
INVALID_OPTIONS+=("-p ${OPTARG}") INVALID_OPTIONS+=("-p ${OPTARG}")
fi fi
;; ;;