[TASK] Deprecate unneeded RawValidator
The RawValidator is a useless Validator that is automatically attached to all method params that are annotated with "@param mixed". This is due to the recognition of the pseudo type "mixed" in ValidatorResolver::getValidatorType which converts mixed into Raw and which then is responsible for creating that RawValidator for the param. However, this is completely useless as the Validator does not validate. Hence, it will be deprecated and removed in TYPO3 v10.0 without any replacement. Releases: master Resolves: #83503 Change-Id: Id3bc1418224e01983d6a3c13b759d6c8a4f764f3 Reviewed-on: https://review.typo3.org/55294 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Henning Liebe <h.liebe@neusta.de> Reviewed-by:
Eugene Kenah Djomo <kdeugene@yahoo.fr> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-83503-DeprecateUnneededRawValidator.rst 32 additions, 0 deletions...aster/Deprecation-83503-DeprecateUnneededRawValidator.rst
- typo3/sysext/extbase/Classes/Validation/Validator/RawValidator.php 14 additions, 1 deletion...ext/extbase/Classes/Validation/Validator/RawValidator.php
- typo3/sysext/extbase/Tests/UnitDeprecated/Validation/Validator/RawValidatorTest.php 1 addition, 1 deletion.../UnitDeprecated/Validation/Validator/RawValidatorTest.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php 5 additions, 0 deletions...l/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
Please register or sign in to comment