[TASK] Move openid compatiblity config to extension 98/44498/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Tue, 3 Nov 2015 10:02:27 +0000 (11:02 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 3 Nov 2015 13:41:55 +0000 (14:41 +0100)
To prepare extraction from the core, the compatibility
configuration needs to move into the extension itself.

Resolves: #71270
Releases: master
Change-Id: Ia7b815c04706e2a93d871c4b04ab305827929485
Reviewed-on: https://review.typo3.org/44498
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/compatibility6/Migrations/Code/ClassAliasMap.php
typo3/sysext/compatibility6/Migrations/Code/LegacyClassesForIde.php
typo3/sysext/openid/Migrations/Code/ClassAliasMap.php [new file with mode: 0644]
typo3/sysext/openid/Migrations/Code/LegacyClassesForIde.php [new file with mode: 0644]
typo3/sysext/openid/composer.json

index 2933911..e42c067 100644 (file)
@@ -1051,10 +1051,6 @@ return array(
     't3lib_arrayBrowser' => \TYPO3\CMS\Lowlevel\Utility\ArrayBrowser::class,
     'SC_mod_tools_config_index' => \TYPO3\CMS\Lowlevel\View\ConfigurationView::class,
     'SC_mod_tools_dbint_index' => \TYPO3\CMS\Lowlevel\View\DatabaseIntegrityView::class,
-    'tx_openid_eID' => \TYPO3\CMS\Openid\OpenidEid::class,
-    'tx_openid_mod_setup' => \TYPO3\CMS\Openid\OpenidModuleSetup::class,
-    'tx_openid_sv1' => \TYPO3\CMS\Openid\OpenidService::class,
-    'tx_openid_store' => \TYPO3\CMS\Openid\OpenidStore::class,
     'SC_mod_web_perm_ajax' => \TYPO3\CMS\Beuser\Controller\PermissionAjaxController::class,
     'SC_mod_web_perm_index' => \TYPO3\CMS\Beuser\Controller\PermissionController::class,
     'SC_browse_links' => \TYPO3\CMS\Recordlist\Controller\ElementBrowserController::class,
index 7bfe626..0495a49 100644 (file)
@@ -7312,34 +7312,6 @@ class SC_mod_tools_dbint_index extends \TYPO3\CMS\Lowlevel\View\DatabaseIntegrit
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tx_openid_eID extends \TYPO3\CMS\Openid\OpenidEid
-{
-}
-
-/**
- * @deprecated since 6.0, removed since 7.0
- */
-class tx_openid_mod_setup extends \TYPO3\CMS\Openid\OpenidModuleSetup
-{
-}
-
-/**
- * @deprecated since 6.0, removed since 7.0
- */
-class tx_openid_sv1 extends \TYPO3\CMS\Openid\OpenidService
-{
-}
-
-/**
- * @deprecated since 6.0, removed since 7.0
- */
-class tx_openid_store extends \TYPO3\CMS\Openid\OpenidStore
-{
-}
-
-/**
- * @deprecated since 6.0, removed since 7.0
- */
 class SC_mod_web_perm_ajax extends \TYPO3\CMS\Beuser\Controller\PermissionAjaxController
 {
 }
diff --git a/typo3/sysext/openid/Migrations/Code/ClassAliasMap.php b/typo3/sysext/openid/Migrations/Code/ClassAliasMap.php
new file mode 100644 (file)
index 0000000..8b0b4cd
--- /dev/null
@@ -0,0 +1,7 @@
+<?php
+return array(
+    'tx_openid_eID' => \TYPO3\CMS\Openid\OpenidEid::class,
+    'tx_openid_mod_setup' => \TYPO3\CMS\Openid\OpenidModuleSetup::class,
+    'tx_openid_sv1' => \TYPO3\CMS\Openid\OpenidService::class,
+    'tx_openid_store' => \TYPO3\CMS\Openid\OpenidStore::class,
+);
diff --git a/typo3/sysext/openid/Migrations/Code/LegacyClassesForIde.php b/typo3/sysext/openid/Migrations/Code/LegacyClassesForIde.php
new file mode 100644 (file)
index 0000000..c0ebb28
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+die('Access denied');
+
+/**
+ * @deprecated since 6.0, removed since 7.0
+ */
+class tx_openid_eID extends \TYPO3\CMS\Openid\OpenidEid
+{
+}
+
+/**
+ * @deprecated since 6.0, removed since 7.0
+ */
+class tx_openid_mod_setup extends \TYPO3\CMS\Openid\OpenidModuleSetup
+{
+}
+
+/**
+ * @deprecated since 6.0, removed since 7.0
+ */
+class tx_openid_sv1 extends \TYPO3\CMS\Openid\OpenidService
+{
+}
+
+/**
+ * @deprecated since 6.0, removed since 7.0
+ */
+class tx_openid_store extends \TYPO3\CMS\Openid\OpenidStore
+{
+}
index 2c91dd7..2389d18 100644 (file)
                "psr-4": {
                        "TYPO3\\CMS\\Openid\\": "Classes/"
                }
+       },
+       "extra": {
+               "typo3/class-alias-loader": {
+                       "class-alias-maps": [
+                               "Migrations/Code/ClassAliasMap.php"
+                       ]
+               }
        }
 }