Review main Merged Breaking

73644[!!!][TASK] Streamline Extbase validators

Christian Kuhn CR +2 V +2 Nightmare +1525 −1974 updated 02/23/22, 07:13

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 84

Show 64 more files