[!!!][TASK] Remove old class aliases from core extension 22/59222/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 19 Dec 2018 18:10:18 +0000 (19:10 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 19 Dec 2018 19:09:44 +0000 (20:09 +0100)
Resolves: #87228
Releases: master
Change-Id: I400fa0bc7882b0ee366c6f923c8e21c30b30a5f6
Reviewed-on: https://review.typo3.org/59222
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
composer.json
composer.lock
typo3/sysext/core/Documentation/Changelog/master/Breaking-87193-DeprecatedFunctionalityRemoved.rst
typo3/sysext/core/Migrations/Code/ClassAliasMap.php [deleted file]
typo3/sysext/core/Migrations/Code/LegacyClassesForIde.php [deleted file]
typo3/sysext/core/composer.json
typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php

index a0e4ba4..48df887 100644 (file)
@@ -87,7 +87,6 @@
                        "always-add-alias-loader": true,
                        "class-alias-maps": [
                                "typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php",
-                               "typo3/sysext/core/Migrations/Code/ClassAliasMap.php",
                                "typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php",
                                "typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php"
                        ]
index 21df472..de9dcc2 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "f96fc721fdf08c347a435067d454a775",
+    "content-hash": "b2db1b9d3a8ca65d71ee6629ec675636",
     "packages": [
         {
             "name": "cogpowered/finediff",
index 65ad9e4..346745e 100644 (file)
@@ -45,10 +45,16 @@ The following PHP class aliases that have been previously deprecated for v9 have
 
 * :php:`TYPO3\CMS\Backend\AjaxLoginHandler`
 * :php:`TYPO3\CMS\Backend\Form\Wizard\ImageManipulationWizard`
+* :php:`TYPO3\CMS\Core\History\RecordHistory`
+* :php:`TYPO3\CMS\Core\IO\PharStreamWrapper`
+* :php:`TYPO3\CMS\Core\IO\PharStreamWrapperException`
+* :php:`TYPO3\CMS\Core\Tree\TableConfiguration\ExtJsArrayTreeRenderer`
+* :php:`TYPO3\CMS\ContextHelp\Controller\ContextHelpAjaxController`
 * :php:`TYPO3\CMS\Cshmanual\Domain\Repository\TableManualRepository`
 * :php:`TYPO3\CMS\Frontend\Controller\PageInformationController`
 * :php:`TYPO3\CMS\Frontend\Controller\TranslationStatusController`
 * :php:`TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController`
+* :php:`TYPO3\CMS\Lang\LanguageService`
 * :php:`TYPO3\CMS\Lowlevel\Command\WorkspaceVersionRecordsCommand`
 * :php:`TYPO3\CMS\Lowlevel\View\ConfigurationView`
 * :php:`TYPO3\CMS\Recordlist\RecordList`
@@ -67,6 +73,8 @@ The following PHP class aliases that have been previously deprecated for v9 have
 * :php:`TYPO3\CMS\Saltedpasswords\SaltedPasswordsService`
 * :php:`TYPO3\CMS\Saltedpasswords\Utility\ExensionManagerConfigurationUtility`
 * :php:`TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility`
+* :php:`TYPO3\CMS\Sv\AbstractAuthenticationService`
+* :php:`TYPO3\CMS\Sv\AuthenticationService`
 * :php:`TYPO3\CMS\Sv\Report\ServicesListReport`
 * :php:`TYPO3\CMS\T3editor\CodeCompletion`
 * :php:`TYPO3\CMS\T3editor\TypoScriptReferenceLoader`
diff --git a/typo3/sysext/core/Migrations/Code/ClassAliasMap.php b/typo3/sysext/core/Migrations/Code/ClassAliasMap.php
deleted file mode 100644 (file)
index 7243acf..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-return [
-    'TYPO3\\CMS\\Lang\\LanguageService' => \TYPO3\CMS\Core\Localization\LanguageService::class,
-    'TYPO3\\CMS\\ContextHelp\\Controller\\ContextHelpAjaxController' => \TYPO3\CMS\Backend\Controller\ContextHelpAjaxController::class,
-    'TYPO3\\CMS\\Sv\\AbstractAuthenticationService' => \TYPO3\CMS\Core\Authentication\AbstractAuthenticationService::class,
-    'TYPO3\\CMS\\Sv\\AuthenticationService' => \TYPO3\CMS\Core\Authentication\AuthenticationService::class,
-    'TYPO3\\CMS\\Core\\IO\\PharStreamWrapper' => \TYPO3\PharStreamWrapper\PharStreamWrapper::class,
-    'TYPO3\\CMS\\Core\\IO\\PharStreamWrapperException' => \TYPO3\PharStreamWrapper\Exception::class,
-    'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\ExtJsArrayTreeRenderer' => \TYPO3\CMS\Core\Tree\TableConfiguration\ArrayTreeRenderer::class,
-    'TYPO3\\CMS\\Core\\History\\RecordHistory' => \TYPO3\CMS\Core\DataHandling\History\RecordHistoryStore::class,
-];
diff --git a/typo3/sysext/core/Migrations/Code/LegacyClassesForIde.php b/typo3/sysext/core/Migrations/Code/LegacyClassesForIde.php
deleted file mode 100644 (file)
index 0e31e02..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-namespace {
-    die('Access denied');
-}
-
-namespace TYPO3\CMS\Lang {
-    class LanguageService extends \TYPO3\CMS\Core\Localization\LanguageService
-    {
-    }
-}
-
-namespace TYPO3\CMS\ContextHelp\Controller {
-    class ContextHelpAjaxController extends \TYPO3\CMS\Backend\Controller\ContextHelpAjaxController
-    {
-    }
-}
-
-namespace TYPO3\CMS\Sv {
-    class AbstractAuthenticationService extends \TYPO3\CMS\Core\Authentication\AbstractAuthenticationService
-    {
-    }
-    class AuthenticationService extends \TYPO3\CMS\Core\Authentication\AuthenticationService
-    {
-    }
-}
index 6fb2e1e..75b484d 100644 (file)
                                "partOfMinimalUsableSystem": true
                        },
                        "extension-key": "core"
-               },
-               "typo3/class-alias-loader": {
-                       "class-alias-maps": [
-                               "Migrations/Code/ClassAliasMap.php"
-                       ]
                }
        },
        "autoload": {
index 498c946..7a1ee7a 100644 (file)
@@ -168,11 +168,13 @@ return [
     'TYPO3\CMS\Sv\AbstractAuthenticationService' => [
         'restFiles' => [
             'Breaking-81536-MoveOfServicesListReportFromSvToReports.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Sv\AuthenticationService' => [
         'restFiles' => [
             'Breaking-81536-MoveOfServicesListReportFromSvToReports.rst',
+            'Breaking-87193-DeprecatedFunctionalityRemoved.rst',
         ],
     ],
     'TYPO3\CMS\Extbase\Configuration\Exception\ContainerIsLockedException' => [