Skip to content

Commit

Permalink
[TASK] Allow PHP 8.4 in runTests.sh
Browse files Browse the repository at this point in the history
This change adds PHP8.4 as allowed version to the
`Build/Scripts/runTests.sh` script as preparation
to validate and check the Core and 3rd party libs
with PHP8.4 locally.

Note that unit tests already revealing deprecation
and errors for 3rd party extension which can now
be reported and for checked upstream updates.

Resolves: #104337
Releases: main, 12.4, 11.5
Change-Id: I76d3e37b393c347173fcdbe874d6a0737fb76d33
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85179
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
  • Loading branch information
sbuerk committed Jul 9, 2024
1 parent fea0159 commit a8d62d5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Build/Scripts/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ getPhpImageVersion() {
8.3)
echo -n "1.13"
;;
8.4)
echo -n "1.0"
;;
esac
}

Expand Down Expand Up @@ -296,11 +299,12 @@ Options:
Hack functional or acceptance tests into #numberOfChunks pieces and run tests of #chunk.
Example -c 3/13
-p <8.1|8.2|8.3>
-p <8.1|8.2|8.3|8.4>
Specifies the PHP minor version to be used
- 8.1 (default): use PHP 8.1
- 8.2: use PHP 8.2
- 8.3: use PHP 8.3
- 8.4: use PHP 8.4
-g
Only with -s acceptance|acceptanceComposer|acceptanceInstall
Expand Down Expand Up @@ -444,7 +448,7 @@ while getopts ":a:b:s:c:d:i:p:xy:nhug" OPT; do
;;
p)
PHP_VERSION=${OPTARG}
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3)$ ]]; then
if ! [[ ${PHP_VERSION} =~ ^(8.1|8.2|8.3|8.4)$ ]]; then
INVALID_OPTIONS+=("${OPTARG}")
fi
;;
Expand Down

0 comments on commit a8d62d5

Please sign in to comment.