Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Orphaned

91020[TASK] Support late static binding in return types of abstract classes

Elias Häußler CR 0 V -1 Easy +20 −26 updated 10/12/25, 18:55

Commit message

As long as methods of abstract classes are not private, an return type
of `self` should be avoided, since this effectively prevents late static
binding. This patch replaces all usages of `self` return types with
`static`, which also improves static code analysis on extended classes.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/20/91020/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/20/91020/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Files 8

Review log 12

  1. Elias Häußler uploaded patch set 1 10/12/25, 18:51

  2. core-ci voted on patch set 1 V -1 10/12/25, 18:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86494