[FEATURE] Replace @validate with @Extbase\Validate 70/54870/14
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Tue, 8 May 2018 10:24:49 +0000 (12:24 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 14 May 2018 13:37:30 +0000 (15:37 +0200)
commit63510069b6d16635c90e689f289522003ac49f9d
tree123b18ef97aa62804ff07f42a98c58f0903cfce0
parentd55f5a47a00fc13c1ea991b32b63621c871ec7d4
[FEATURE] Replace @validate with @Extbase\Validate

This patch introduces the "TYPO3\CMS\Extbase\Annotation\Validate"
annotation that replaces the @validate annotation which is
deprecated from now on.

Releases: master
Resolves: #83167
Change-Id: I9a0a3804cfb7429eaf81ec2b3ffa21c3a3d84c63
Reviewed-on: https://review.typo3.org/54870
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
33 files changed:
Build/Scripts/annotationChecker.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-83167-ReplaceValidateWithTYPO3CMSExtbaseAnnotationValidate.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-83167-ReplaceValidateWithTYPO3CMSExtbaseAnnotationValidate.rst [new file with mode: 0644]
typo3/sysext/documentation/Classes/Domain/Model/Document.php
typo3/sysext/documentation/Classes/Domain/Model/DocumentFormat.php
typo3/sysext/documentation/Classes/Domain/Model/DocumentTranslation.php
typo3/sysext/extbase/Classes/Annotation/Validate.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Domain/Model/BackendUser.php
typo3/sysext/extbase/Classes/Domain/Model/BackendUserGroup.php
typo3/sysext/extbase/Classes/Domain/Model/Category.php
typo3/sysext/extbase/Classes/Domain/Model/FileMount.php
typo3/sysext/extbase/Classes/Reflection/ClassSchema.php
typo3/sysext/extbase/Classes/Reflection/ReflectionService.php
typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Blog.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Comment.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/Post.php
typo3/sysext/extbase/Tests/Functional/Mvc/Controller/Fixture/Controller/TestController.php
typo3/sysext/extbase/Tests/Functional/Validation/Fixture/Domain/Model/AnotherModel.php
typo3/sysext/extbase/Tests/Functional/Validation/Fixture/Domain/Model/Model.php
typo3/sysext/extbase/Tests/Functional/Validation/ValidatorResolverTest.php
typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchemaTest.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyController.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyControllerWithValidateAnnotationWithoutParam.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyControllerWithValidateAnnotationWithoutParamTypeHint.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyModel.php
typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/ClassSchemaTest.php
typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/Fixture/DummyControllerWithValidateAnnotationWithoutParam.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/Fixture/DummyControllerWithValidateAnnotationWithoutParamTypeHint.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/Fixture/DummyControllerWithValidateAnnotations.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/Fixture/DummyModelWithValidateAnnotation.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/Fixture/Validation/Validator/DummyValidator.php [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyAnnotationMatcher.php