[TASK] Deprecate Extbase CommandControllers and @cli annotation 64/58064/7
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Sat, 25 Aug 2018 12:27:25 +0000 (14:27 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 31 Aug 2018 09:15:02 +0000 (11:15 +0200)
commit345c37afe5f879bea00f42115fe3d8d40d610ae1
tree3affdd5dc27817adf31ecfd06115468fa1b26854
parent5ce2929dfccd363e20478165eb443aff2e2951a5
[TASK] Deprecate Extbase CommandControllers and @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 concept of Extbase Command Controllers has been superseded
with symfony/console and its integration into TYPO3 CLI in TYPO3 v8.0,
and contains all features necessary to build commands of any kind
of complexity.

As a matter of documentation, it is however crucial to document
how to instantiate Extbase from CLI to migrate easily from Extbase CLI
to symfony/console.

Releases: master
Resolves: #85977
Change-Id: Id87c2ce300e01bf649bd1c2219aa17b8437bda83
Reviewed-on: https://review.typo3.org/58064
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
46 files changed:
Build/Scripts/annotationChecker.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85977-ExtbaseCommandControllersAndCliAnnotation.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Command/CoreCommand.php
typo3/sysext/extbase/Classes/Command/ExtbaseCommand.php
typo3/sysext/extbase/Classes/Command/HelpCommand.php
typo3/sysext/extbase/Classes/Command/HelpCommandController.php
typo3/sysext/extbase/Classes/Mvc/Cli/Command.php
typo3/sysext/extbase/Classes/Mvc/Cli/CommandArgumentDefinition.php
typo3/sysext/extbase/Classes/Mvc/Cli/CommandManager.php
typo3/sysext/extbase/Classes/Mvc/Cli/ConsoleOutput.php
typo3/sysext/extbase/Classes/Mvc/Cli/Request.php
typo3/sysext/extbase/Classes/Mvc/Cli/RequestBuilder.php
typo3/sysext/extbase/Classes/Mvc/Cli/RequestHandler.php
typo3/sysext/extbase/Classes/Mvc/Cli/Response.php
typo3/sysext/extbase/Classes/Mvc/Controller/CommandController.php
typo3/sysext/extbase/Classes/Mvc/Controller/CommandControllerInterface.php
typo3/sysext/extbase/Classes/Mvc/Exception/AmbiguousCommandIdentifierException.php
typo3/sysext/extbase/Classes/Mvc/Exception/CommandException.php
typo3/sysext/extbase/Classes/Reflection/ClassSchema.php
typo3/sysext/extbase/Classes/Scheduler/FieldProvider.php
typo3/sysext/extbase/Classes/Scheduler/Task.php
typo3/sysext/extbase/Classes/Scheduler/TaskExecutor.php
typo3/sysext/extbase/Configuration/Commands.php
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandManagerTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/Fixture/Command/MockACommandController.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/Fixture/Command/MockBCommandController.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/Fixture/Command/MockCCommandController.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/RequestBuilderTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/RequestTest.php [deleted file]
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/CommandControllerTest.php [deleted file]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/CommandManagerTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/CommandTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/Fixture/Command/MockACommandController.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/Fixture/Command/MockBCommandController.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/Fixture/Command/MockCCommandController.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/RequestBuilderTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Cli/RequestTest.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/UnitDeprecated/Mvc/Controller/CommandControllerTest.php [new file with mode: 0644]
typo3/sysext/extbase/ext_localconf.php
typo3/sysext/extbase/ext_typoscript_setup.typoscript
typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodAnnotationMatcher.php
typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandAdditionalFieldProvider.php
typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandTask.php