From 86e45d022eb688d796b2762d6fdd092a082c6a6f Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 16 Jan 2024 15:30:59 +0100 Subject: [PATCH] [FEATURE] Add support for PHP 8.3 --- .github/workflows/core11.yml | 2 +- .github/workflows/core12.yml | 2 +- Build/Scripts/runTests.sh | 5 +++-- composer.json | 2 +- ext_emconf.php | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/core11.yml b/.github/workflows/core11.yml index f93d4daacd..6c33e5e8ef 100644 --- a/.github/workflows/core11.yml +++ b/.github/workflows/core11.yml @@ -11,7 +11,7 @@ jobs: # rest matrix jobs be executed anyway. fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ] composerInstall: [ 'composerInstallLowest', 'composerInstallHighest' ] steps: - name: Checkout diff --git a/.github/workflows/core12.yml b/.github/workflows/core12.yml index 55aab4765e..42f82945c6 100644 --- a/.github/workflows/core12.yml +++ b/.github/workflows/core12.yml @@ -11,7 +11,7 @@ jobs: # rest matrix jobs be executed anyway. fail-fast: false matrix: - php: [ '8.1', '8.2' ] + php: [ '8.1', '8.2', '8.3' ] composerInstall: [ 'composerInstallLowest', 'composerInstallHighest' ] steps: - name: Checkout diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 0192de8148..ef70d0fd57 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -133,12 +133,13 @@ Options: - 13 - 14 - -p <7.4|8.0|8.1|8.2> + -p <7.4|8.0|8.1|8.2|8.3> Specifies the PHP minor version to be used - 7.4 (default): use PHP 7.4 - 8.0: use PHP 8.0 - 8.1: use PHP 8.1 - 8.2: use PHP 8.2 + - 8.3: use PHP 8.3 -t <11|12> Only with -s composerUpdate @@ -266,7 +267,7 @@ while getopts ":s:a:d:i:j:k:p:t:e:xy:z:nhuv" OPT; do ;; p) PHP_VERSION=${OPTARG} - if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2)$ ]]; then + if ! [[ ${PHP_VERSION} =~ ^(7.4|8.0|8.1|8.2|8.3)$ ]]; then INVALID_OPTIONS+=("p ${OPTARG}") fi ;; diff --git a/composer.json b/composer.json index 00b3c99327..01cec2b4e5 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ ], "require": { "typo3/cms-core": "^11.5.24 || ^12.4.0", - "php": ">= 7.4 < 8.3" + "php": ">= 7.4 < 8.4" }, "suggest": { "reelworx/rx-shariff": "GDPR compliant social sharing", diff --git a/ext_emconf.php b/ext_emconf.php index 198c7b3f62..02fa245266 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -12,7 +12,7 @@ 'constraints' => [ 'depends' => [ 'typo3' => '11.5.19-12.9.99', - 'php' => '7.4.0-8.2.99', + 'php' => '7.4.0-8.3.99', ], 'conflicts' => [], 'suggests' => [