[BUGFIX] Remove invalid NoSuchCommandException 68/59268/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 22 Dec 2018 12:15:21 +0000 (13:15 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 22 Dec 2018 13:32:31 +0000 (14:32 +0100)
The NoSuchCommandExceptions has been forgotton
to be removed along with the CommandException
it extends from. It is unused and can be dropped.

Resolves: #87266
Related: #85977
Related: #87246
Releases: master
Change-Id: Ie83695be3f688ad0e52a4fd54918df2b167f6560
Reviewed-on: https://review.typo3.org/59268
Reviewed-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Tested-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Documentation/Changelog/master/Breaking-87193-DeprecatedFunctionalityRemoved.rst
typo3/sysext/extbase/Classes/Mvc/Exception/NoSuchCommandException.php [deleted file]
typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php

index dedc4b3..7ccb239 100644 (file)
@@ -48,6 +48,7 @@ The following PHP classes that have been previously deprecated for v9 have been
 * :php:`TYPO3\CMS\Extbase\Mvc\Cli\Controller\CommandController`
 * :php:`TYPO3\CMS\Extbase\Mvc\Exception\AmbiguousCommandIdentifierException`
 * :php:`TYPO3\CMS\Extbase\Mvc\Exception\CommandException`
+* :php:`TYPO3\CMS\Extbase\Mvc\Exception\NoSuchCommandException`
 * :php:`TYPO3\CMS\Extbase\Scheduler\FieldProvider`
 * :php:`TYPO3\CMS\Extbase\Scheduler\Task`
 * :php:`TYPO3\CMS\Extbase\Scheduler\TaskExecutor`
diff --git a/typo3/sysext/extbase/Classes/Mvc/Exception/NoSuchCommandException.php b/typo3/sysext/extbase/Classes/Mvc/Exception/NoSuchCommandException.php
deleted file mode 100644 (file)
index 30f5de9..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-namespace TYPO3\CMS\Extbase\Mvc\Exception;
-
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * A "No Such Command" exception
- */
-class NoSuchCommandException extends \TYPO3\CMS\Extbase\Mvc\Exception\CommandException
-{
-}
index f8f1eb7..c1a8cf1 100644 (file)
@@ -1010,6 +1010,12 @@ return [
             'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
+    'TYPO3\CMS\Extbase\Mvc\Exception\NoSuchCommandException' => [
+        'restFiles' => [
+            'Deprecation-85977-ExtbaseCommandControllersAndCliAnnotation.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
+        ],
+    ],
     'TYPO3\CMS\Extbase\Scheduler\FieldProvider' => [
         'restFiles' => [
             'Deprecation-85977-ExtbaseCommandControllersAndCliAnnotation.rst',