Skip to content
Snippets Groups Projects
Commit f29ab0c6 authored by Christian Kuhn's avatar Christian Kuhn Committed by Benni Mack
Browse files

[!!!][TASK] Streamline Extbase validators

This follows the preparations of #96332 which has
been applied to v11 and v12.

The Extbase validator interfaces are streamlined
and more strict, setOptions() is now mandatory.

All validators now declace strict_types=1 and
all non-abstract validators are declared final.

A ReST file of the breaking interface and
AbstractValidator signature changes explains
details on how to stay compatible with v11 & v12
aware extensions.

Since a lot of the existing unit tests mock
single validator subjects, which is no longer
possible when they're final, those tests are
transferred to functional tests.

Change-Id: If04a04e78e2539017da00ae1607cad1c8615774f
Resolves: #96998
Related: #96332
Releases: main
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73644


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 6efe63ba
Branches
Tags
No related merge requests found
Showing
with 409 additions and 419 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment