Skip to content

Commit

Permalink
[FEATURE] Add support for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverklee committed Jan 4, 2025
1 parent 45f9479 commit c5c3348
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
code-quality:
name: "Code quality checks"
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions .gitlab/pipeline/jobs/php-lint-php8.4.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'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',
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
])
->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 => [],
])
Expand Down

0 comments on commit c5c3348

Please sign in to comment.