[TASK] Deprecate @cli annotation 37/58037/3
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Sat, 25 Aug 2018 12:27:25 +0000 (14:27 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 25 Aug 2018 12:54:47 +0000 (14:54 +0200)
commitc7791b01fe420cd8ed7298635ba414d1b5ea2638
tree160573b6a903771dcc6aa8782290f4bc40280ec3
parentd0b5f7924fd780c99e983eda35e27e05587942f8
[TASK] Deprecate @cli annotation

Back then, the PHPDoc annotation `@cli` was added to indicate
Extbase CommandController commands to be usable on CLI only
instead of also be usable as a scheduler task.

The scheduler implementation will be refactored in TYPO3 10
and the execution of commands from the backend will vanish.
Therefore it will not be necessary any more to define if
commands can only be used on the command line or not.
In the future, all commands will only be executable
from the command line.

Releases: master
Resolves: #85977
Change-Id: I52330517b51c5c747177cab55e34a721a0df5f67
Reviewed-on: https://review.typo3.org/58037
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Build/Scripts/annotationChecker.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85977-DeprecateCliAnnotation.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Command/HelpCommandController.php
typo3/sysext/extbase/Classes/Mvc/Cli/Command.php
typo3/sysext/extbase/Classes/Reflection/ClassSchema.php
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/Fixture/Command/MockCCommandController.php
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/CommandTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/Fixture/Command/MockCCommandController.php [new file with mode: 0644]
typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodAnnotationMatcher.php