Project

General

Profile

Actions

Task #103965

closed

Deprecate namespaced shorthand validator usage in extbase

Added by Torben Hansen 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extbase
Target version:
Start date:
2024-06-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Since the early days of extbase, it is possible to use a namespaced shorthand notation for extbase validators. As an example, TYPO3.CMS.Extbase:NotEmpty will be resolved as TYPO3\CMS\Extbase\Validation\Validator\NotEmptyValidator or Vendor.Extension:Custom will be resolved as \Vendor\MyExtension\Validation\Validator\CustomValidator.

The described namespaced shorthand notation has however never been documented and is most likely not used often in extensions. In order to simplify extbase ValidatorClassNameResolver class, the namespaced shorthand notation should be deprecatd.

Actions #1

Updated by Torben Hansen 5 months ago

  • Category set to Extbase
Actions #2

Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84477

Actions #3

Updated by Torben Hansen 5 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF