mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-02-14 19:03:49 +01:00

[FEATURE] Add support for PHP 8.4

This commit is contained in:
Oliver Klee 2025-01-03 10:40:23 +01:00
parent 61512af450
commit 21e3eaf0d0
6 changed files with 36 additions and 3 deletions

View file

@ -46,6 +46,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
code-quality:
name: "Code quality checks"
runs-on: ubuntu-24.04
@ -189,6 +190,12 @@ jobs:
- typo3-version: "^11.5"
php-version: "8.3"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.4"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.4"
composer-dependencies: highest
- typo3-version: "^12.4"
php-version: "8.1"
composer-dependencies: lowest
@ -207,6 +214,12 @@ jobs:
- typo3-version: "^12.4"
php-version: "8.3"
composer-dependencies: highest
- typo3-version: "^12.4"
php-version: "8.4"
composer-dependencies: lowest
- typo3-version: "^12.4"
php-version: "8.4"
composer-dependencies: highest
functional-tests:
name: "Functional tests"
runs-on: ubuntu-24.04
@ -296,6 +309,12 @@ jobs:
- typo3-version: "^11.5"
php-version: "8.3"
composer-dependencies: highest
- typo3-version: "^11.5"
php-version: "8.4"
composer-dependencies: lowest
- typo3-version: "^11.5"
php-version: "8.4"
composer-dependencies: highest
- typo3-version: "^12.4"
php-version: "8.1"
composer-dependencies: lowest
@ -314,6 +333,12 @@ jobs:
- typo3-version: "^12.4"
php-version: "8.3"
composer-dependencies: highest
- typo3-version: "^12.4"
php-version: "8.4"
composer-dependencies: lowest
- typo3-version: "^12.4"
php-version: "8.4"
composer-dependencies: highest
shellcheck:
name: Check shell scripts
runs-on: ubuntu-24.04

View file

@ -0,0 +1,7 @@
php-lint-php8.3:
extends: .composer-update
image: ghcr.io/typo3/core-testing-php84:latest
stage: lint
needs: [ ]
script:
- composer ci:php:lint

View file

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z
### Added
- Add support for PHP 8.4 (#1536)
- Add support for PostgreSQL 16 (#1271)
### Changed

View file

@ -39,7 +39,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 || ~8.3.0",
"php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"psr/http-message": "^1.0.1",
"typo3/cms-core": "^11.5.41 || ^12.4.24",
"typo3/cms-extbase": "^11.5.41 || ^12.4.24",

View file

@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = [
'category' => 'example',
'constraints' => [
'depends' => [
'php' => '7.4.0-8.3.99',
'php' => '7.4.0-8.4.99',
'typo3' => '11.5.41-12.4.99',
'extbase' => '11.5.41-12.4.99',
'fluid' => '11.5.41-12.4.99',

View file

@ -95,7 +95,7 @@ return RectorConfig::configure()
])
->withImportNames(true, true, false)
->withConfiguredRule(ExtEmConfRector::class, [
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '7.4.0-8.3.99',
ExtEmConfRector::PHP_VERSION_CONSTRAINT => '7.4.0-8.4.99',
ExtEmConfRector::TYPO3_VERSION_CONSTRAINT => '11.5.41-12.4.99',
ExtEmConfRector::ADDITIONAL_VALUES_TO_BE_REMOVED => [],
])