From 723c5da9509cc7832d2759e48a9a3a7af7098685 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Wed, 1 Nov 2023 21:20:27 +0100 Subject: [PATCH] [FEATURE] Add support for PHP 8.3 (#965) --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ Build/Scripts/runTests.sh | 3 ++- CHANGELOG.md | 1 + composer.json | 2 +- ext_emconf.php | 2 +- 5 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6115d09..3113a49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" code-quality: name: "Code quality checks" runs-on: ubuntu-22.04 @@ -169,6 +170,12 @@ jobs: - typo3-version: "^11.5" php-version: "8.2" composer-dependencies: highest + - typo3-version: "^11.5" + php-version: "8.3" + composer-dependencies: lowest + - typo3-version: "^11.5" + php-version: "8.3" + composer-dependencies: highest - typo3-version: "^12.4" php-version: "8.1" composer-dependencies: lowest @@ -181,6 +188,12 @@ jobs: - typo3-version: "^12.4" php-version: "8.2" composer-dependencies: highest + - typo3-version: "^12.4" + php-version: "8.3" + composer-dependencies: lowest + - typo3-version: "^12.4" + php-version: "8.3" + composer-dependencies: highest functional-tests: name: "Functional tests" runs-on: ubuntu-22.04 @@ -263,6 +276,12 @@ jobs: - typo3-version: "^11.5" php-version: "8.2" composer-dependencies: highest + - typo3-version: "^11.5" + php-version: "8.3" + composer-dependencies: lowest + - typo3-version: "^11.5" + php-version: "8.3" + composer-dependencies: highest - typo3-version: "^12.4" php-version: "8.1" composer-dependencies: lowest @@ -275,3 +294,9 @@ jobs: - typo3-version: "^12.4" php-version: "8.2" composer-dependencies: highest + - typo3-version: "^12.4" + php-version: "8.3" + composer-dependencies: lowest + - typo3-version: "^12.4" + php-version: "8.3" + composer-dependencies: highest diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index d8fde68..8ea0c45 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -188,12 +188,13 @@ Options: - 11: (default) use TYPO3 v11 with typo3/cms-composer-installers ^3 - 12: use TYPO3 v12 with typo3/cms-composer-installers ^5 - -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: use PHP 7.4 - 8.0: use PHP 8.0 - 8.1: (default) use PHP 8.1 - 8.2: use PHP 8.2 + - 8.3: use PHP 8.3 -e "" Only with -s functional|functionalDeprecated|unit|unitDeprecated|unitRandom|acceptance diff --git a/CHANGELOG.md b/CHANGELOG.md index e98bd0d..2579433 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ## x.y.z ### Added +- Add support for PHP 8.3 (#965) - Add an FE editor (#864, #872, #874, #876) - Add automerging of green Dependabot PRs (#756) - Add type coverage calculation (#830) diff --git a/composer.json b/composer.json index ab3f2e7..5cf3842 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "docs": "https://docs.typo3.org/p/ttn/tea/main/en-us/" }, "require": { - "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0", + "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "psr/http-message": "^1.0.1", "typo3/cms-core": "^11.5.4 || ^12.4", "typo3/cms-extbase": "^11.5.4 || ^12.4", diff --git a/ext_emconf.php b/ext_emconf.php index b9ff94c..a4934e8 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = [ 'category' => 'example', 'constraints' => [ 'depends' => [ - 'php' => '7.4.0-8.2.99', + 'php' => '7.4.0-8.3.99', 'typo3' => '11.5.4-12.4.99', 'extbase' => '11.5.4-12.4.99', 'fluid' => '11.5.4-12.4.99',