You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to use the undocumented namespaced shorthand notation in
extbase to add validators for properties or arguments. 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 namespaced shorthand notation for extbase validators has been marked
as deprecated and will be removed in TYPO3 v14.
Impact
Using namespaced shorthand notation in extbase will trigger a PHP
deprecation warning.
Affected installations
All installations using namespaced shorthand notation in extbase are
affected.
Migration
Extensions using the namespaced shorthand notation must use the FQCN of
the validator instead. In case of extbase core validators, the well
known shorthand validator name can be used.
Deprecation: #103965 - Deprecate namespaced shorthand validator usage in extbase
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.2/Deprecation-103965-DeprecateNamespacedShorthandValidatorUsageInExtbase.html
Deprecation: #103965 - Deprecate namespaced shorthand validator usage in extbase
See 103965
Description
It is possible to use the undocumented namespaced shorthand notation in
extbase to add validators for properties or arguments. As an example,
TYPO3.CMS.Extbase:NotEmpty
will be resolved asTYPO3\CMS\Extbase\Validation\Validator\NotEmptyValidator
orVendor.Extension:Custom
will be resolved as\Vendor\MyExtension\Validation\Validator\CustomValidator
.The namespaced shorthand notation for extbase validators has been marked
as deprecated and will be removed in TYPO3 v14.
Impact
Using namespaced shorthand notation in extbase will trigger a PHP
deprecation warning.
Affected installations
All installations using namespaced shorthand notation in extbase are
affected.
Migration
Extensions using the namespaced shorthand notation must use the FQCN of
the validator instead. In case of extbase core validators, the well
known shorthand validator name can be used.
Before
After
or
Frontend, NotScanned, ext:extbase
The text was updated successfully, but these errors were encountered: