Skip to content

[!!!][TASK] Support PHP 8.5 and require TYPO3 13.4 - #9

Open
N0S0I wants to merge 7 commits into
mainfrom
php85
Open

N0S0I wants to merge 7 commits into
mainfrom
php85

Conversation

@N0S0I

@N0S0I N0S0I commented Oct 23, 2026

Copy link
Copy Markdown

Allow and test PHP 8.5 with TYPO3 13.4. Align Composer requirements and the CI matrix, removing TYPO3 12. No application code changes.

Breaking change: TYPO3 12 is no longer supported on this development branch.

Validation: the GitHub Actions branch workflow passed for 5e0816402064e30f3c33915de3f829927af0dd68. This PR targets main.

N0S0I commented Oct 23, 2026

Copy link
Copy Markdown
Author

Applicable feedback carried over from Kanti's reviews of other repositories:

  • Drop support for TYPO3 versions that are in ELTS, applying the same support policy to this extension (source review).
  • Reuse the existing GrumPHP checks instead of adding duplicate checks (source review).
  • Keep tests focused on this package; do not add tests of unrelated TYPO3 internals (source review).

@N0S0I
N0S0I requested a review from weakbit October 23, 2026 06:50
include:
- php: '8.2'
typo3: '13'
dependencies: latest

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dependencies: latest

This isn't necessary; we didn't have it before, and we don't need it now either.

@@ -0,0 +1,46 @@
#!/bin/sh

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not want a shell script for this, we do not need this here.
We did not have this before.

Comment thread grumphp.yml
parallel:
enabled: false
parameters:
convention.fractor_enable: false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we disable fractor?

Comment thread grumphp.yml
- { resource: vendor/pluswerk/grumphp-config/grumphp.yml }
grumphp:
parallel:
enabled: false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we disable parallel runs?

Comment thread rector.php
use Rector\Caching\ValueObject\Storage\FileCacheStorage;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->phpVersion(80200);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not want a fixed version. We have the automated php version configuration.

Comment thread composer.json
},
"require-dev": {
"pluswerk/grumphp-config": "^7.2.0 || ^10.1.4",
"pluswerk/grumphp-config": "^7.2.0 || ^10.1.4 || ^11.2.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove version 7 or even version 10?

Comment on lines -19 to +41
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.php }}-composer-
- run: composer require typo3/minimal="^${{ matrix.typo3 }}" --dev --ignore-platform-req=php+
- run: composer install --no-interaction --no-progress --ignore-platform-req=php+
- run: ./vendor/bin/grumphp run --ansi
extensions: apcu, bcmath, gd, intl, mbstring, pdo_sqlite, sqlite3, zip
coverage: pcov
tools: composer:v2
ini-values: apc.enable_cli=1, memory_limit=1G
- name: Resolve and check compatibility
run: sh Build/Scripts/check-compatibility.sh ${{ matrix.php }} ${{ matrix.typo3 }} ${{ matrix.dependencies }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should not change that much in a simple php upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants