Skip to content

[TASK] DPL-158: Upgrade testing infrastructure#25

Merged
sbuerk merged 1 commit intomainfrom
dpl-158-update-phpunit
Mar 12, 2026
Merged

[TASK] DPL-158: Upgrade testing infrastructure#25
sbuerk merged 1 commit intomainfrom
dpl-158-update-phpunit

Conversation

@sbuerk
Copy link
Member

@sbuerk sbuerk commented Mar 12, 2026

This change upgrades the testing infrastructure
to the lowest possible construct suitable for
TYPO3 v13 and v14 testing. This includes:

  • Upgrade to phpunit 11.x and align dependecies
    on suitable versions.

  • Upgrade typo3/testing-framework to ^9.4.0
    for TYPO3 v13 and v14 support.

  • Removed 'sbuerk/typo3-styleguide-selector'
    as not required anymore because it's now
    enforced with matching version by TYPO3.

Used command(s):

Build/Scripts/runTests.sh -s composer -- remove \
  --dev 'sbuerk/typo3-styleguide-selector' && \
Build/Scripts/runTests.sh -s composer -- require \
  --dev -W \
    'phpunit/phpunit':'^11.2.5' \
    'php-mock/php-mock-phpunit':'^2.15.0' \
    'helmich/phpunit-json-assert':'^3.5.5' \
    'typo3/testing-framework':'^9.4.0' \
    'sbuerk/typo3-site-based-test-trait':'^2.0.1 || ^3.0.0' \
    'typo3/cms-styleguide':'^13.4.10'

@sbuerk sbuerk force-pushed the dpl-158-update-phpunit branch from ba9acd6 to e5d3a10 Compare March 12, 2026 15:41
This change upgrades the testing infrastructure
to the lowest possible construct suitable for
TYPO3 v13 and v14 testing. This includes:

* Upgrade to `phpunit 11.x` and align dependecies
  on suitable versions.

* Upgrade `typo3/testing-framework` to `^9.4.0`
  for TYPO3 v13 and v14 support.

* Removed `'sbuerk/typo3-styleguide-selector'`
  as not required anymore because it's now
  enforced with matching version by TYPO3.

Used command(s):

```bash
Build/Scripts/runTests.sh -s composer -- remove \
  --dev 'sbuerk/typo3-styleguide-selector' && \
Build/Scripts/runTests.sh -s composer -- require \
  --dev -W \
    'phpunit/phpunit':'^11.2.5' \
    'php-mock/php-mock-phpunit':'^2.15.0' \
    'helmich/phpunit-json-assert':'^3.5.5' \
    'typo3/testing-framework':'^9.4.0' \
    'sbuerk/typo3-site-based-test-trait':'^2.0.1 || ^3.0.0' \
    'typo3/cms-styleguide':'^13.4.10'
```
@sbuerk sbuerk force-pushed the dpl-158-update-phpunit branch from e5d3a10 to a779147 Compare March 12, 2026 15:47
@sbuerk sbuerk merged commit f3b60e9 into main Mar 12, 2026
3 checks passed
@sbuerk sbuerk deleted the dpl-158-update-phpunit branch March 12, 2026 16:26
@calien666 calien666 self-requested a review March 12, 2026 17:05
Copy link
Member

@calien666 calien666 left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

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