[TASK] Remove obsolete class aliases 76/40976/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Tue, 7 Jul 2015 17:24:34 +0000 (19:24 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 7 Jul 2015 23:09:28 +0000 (01:09 +0200)
The class aliases introduced during RTE and form engine refactoring
are more or less useless as the API changed heavily in this area
so that a class alias alone would provide no benefit.

These changes were marked as breaking already, so we can do this
now as a regular cleanup.

Releases: master
Resolves: #67967
Change-Id: Ied68f390aa9a33be3a8bb9b26732efb698e04848
Reviewed-on: http://review.typo3.org/40976
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
composer.json
typo3/sysext/backend/Migrations/Code/ClassAliasMap.php [deleted file]
typo3/sysext/backend/composer.json
typo3/sysext/rtehtmlarea/Migrations/Code/ClassAliasMap.php [deleted file]
typo3/sysext/rtehtmlarea/Migrations/Code/LegacyClassesForIde.php [deleted file]
typo3/sysext/rtehtmlarea/composer.json

index e066997..6e061d1 100644 (file)
@@ -59,9 +59,7 @@
                        "dev-master": "7.x-dev"
                },
                "class-alias-maps": [
-                       "typo3/sysext/backend/Migrations/Code/ClassAliasMap.php",
-                       "typo3/sysext/form/Migrations/Code/ClassAliasMap.php",
-                       "typo3/sysext/rtehtmlarea/Migrations/Code/ClassAliasMap.php"
+                       "typo3/sysext/form/Migrations/Code/ClassAliasMap.php"
                ]
        },
        "replace": {
diff --git a/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php b/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php
deleted file mode 100644 (file)
index 607029d..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-return array(
-       \TYPO3\CMS\Backend\Form\Element\SuggestElement::class => \TYPO3\CMS\Backend\Form\Wizard\SuggestWizard::class,
-       \TYPO3\CMS\Backend\Form\Element\SuggestDefaultReceiver::class => \TYPO3\CMS\Backend\Form\Wizard\SuggestWizardDefaultReceiver::class,
-       \TYPO3\CMS\Backend\Form\Element\ValueSlider::class => \TYPO3\CMS\Backend\Form\Wizard\ValueSliderWizard::class,
-);
index be79ea8..2acd0a6 100644 (file)
                                "partOfFactoryDefault": true,
                                "partOfMinimalUsableSystem": true
                        }
-               },
-               "class-alias-maps": [
-                       "Migrations/Code/ClassAliasMap.php"
-               ]
+               }
        },
        "autoload": {
                "psr-4": {
diff --git a/typo3/sysext/rtehtmlarea/Migrations/Code/ClassAliasMap.php b/typo3/sysext/rtehtmlarea/Migrations/Code/ClassAliasMap.php
deleted file mode 100644 (file)
index 6c99b6d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-return array(
-       \TYPO3\CMS\Rtehtmlarea\Extension\Acronym::class => \TYPO3\CMS\Rtehtmlarea\Extension\Abbreviation::class,
-);
diff --git a/typo3/sysext/rtehtmlarea/Migrations/Code/LegacyClassesForIde.php b/typo3/sysext/rtehtmlarea/Migrations/Code/LegacyClassesForIde.php
deleted file mode 100644 (file)
index e5776c2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace TYPO3\CMS\Rtehtmlarea\Extension;
-
-die('Access denied');
-
-/**
- * @deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8
- */
-class Acronym extends \TYPO3\CMS\Rtehtmlarea\Extension\Abbreviation {}
index 5fb1347..1dbec58 100644 (file)
                        "Package": {
                                "partOfFactoryDefault": true
                        }
-               },
-               "class-alias-maps": [
-                       "Migrations/Code/ClassAliasMap.php"
-               ]
+               }
        },
        "autoload": {
                "psr-4": {