[BUGFIX] Fix things that are broken without compatiblity6 70/35070/6
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 5 Dec 2014 10:41:39 +0000 (11:41 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 5 Dec 2014 23:14:58 +0000 (00:14 +0100)
While moving things to the compatibility6 extension
it was forgotten that some aliases are required for
ext form to work properly.

Besides that, the fact that unit tests run with all
extensions enabled, it was hidden that some tests
still relied on some aliases.

These things are now all fixed and the compatibility
extension is removed from travis before executing the tests.

Resolves: #63576
Resolves: #63577
Releases: master
Change-Id: I06b50c093091dc8866a5ea8b2919565a1a5bed21
Reviewed-on: http://review.typo3.org/35070
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
.travis.yml
typo3/sysext/compatibility6/Migrations/Code/ClassAliasMap.php
typo3/sysext/extbase/Tests/Unit/Error/ResultTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractCompositeValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractValidatorTest.php
typo3/sysext/form/Migrations/Code/ClassAliasMap.php [new file with mode: 0644]

index 1e496c4..b884260 100644 (file)
@@ -32,6 +32,7 @@ before_script:
   - if [ -e ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ]; then echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
   - if [ -e ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ]; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
   - sudo apt-get install parallel
+  - rm -rf typo3/sysext/compatibility6
   - composer self-update
   - composer install
 
index 3f27245..35b2047 100644 (file)
@@ -741,7 +741,6 @@ return array(
        'tx_form_Domain_Model_Attributes_Abstract' => \TYPO3\CMS\Form\Domain\Model\Attribute\AbstractAttribute::class,
        'tx_form_Domain_Model_Attributes_Accept' => \TYPO3\CMS\Form\Domain\Model\Attribute\AcceptAttribute::class,
        'tx_form_Domain_Model_Attributes_Acceptcharset' => \TYPO3\CMS\Form\Domain\Model\Attribute\AcceptCharsetAttribute::class,
-       \TYPO3\CMS\Form\Domain\Model\Attribute\AcceptcharsetAttribute::class => \TYPO3\CMS\Form\Domain\Model\Attribute\AcceptCharsetAttribute::class,
        'tx_form_Domain_Model_Attributes_Accesskey' => \TYPO3\CMS\Form\Domain\Model\Attribute\AccesskeyAttribute::class,
        'tx_form_Domain_Model_Attributes_Action' => \TYPO3\CMS\Form\Domain\Model\Attribute\ActionAttribute::class,
        'tx_form_Domain_Model_Attributes_Alt' => \TYPO3\CMS\Form\Domain\Model\Attribute\AltAttribute::class,
@@ -775,7 +774,6 @@ return array(
        'tx_form_Domain_Model_Element_Button' => \TYPO3\CMS\Form\Domain\Model\Element\ButtonElement::class,
        'tx_form_Domain_Model_Element_Checkbox' => \TYPO3\CMS\Form\Domain\Model\Element\CheckboxElement::class,
        'tx_form_Domain_Model_Element_Checkboxgroup' => \TYPO3\CMS\Form\Domain\Model\Element\CheckboxGroupElement::class,
-       \TYPO3\CMS\Form\Domain\Model\Element\CheckboxgroupElement::class => \TYPO3\CMS\Form\Domain\Model\Element\CheckboxGroupElement::class,
        'tx_form_Domain_Model_Element_Container' => \TYPO3\CMS\Form\Domain\Model\Element\ContainerElement::class,
        'tx_form_Domain_Model_Element_Content' => \TYPO3\CMS\Form\Domain\Model\Element\ContentElement::class,
        'tx_form_Domain_Model_Element_Fieldset' => \TYPO3\CMS\Form\Domain\Model\Element\FieldsetElement::class,
@@ -788,7 +786,6 @@ return array(
        'tx_form_Domain_Model_Element_Password' => \TYPO3\CMS\Form\Domain\Model\Element\PasswordElement::class,
        'tx_form_Domain_Model_Element_Radio' => \TYPO3\CMS\Form\Domain\Model\Element\RadioElement::class,
        'tx_form_Domain_Model_Element_Radiogroup' => \TYPO3\CMS\Form\Domain\Model\Element\RadioGroupElement::class,
-       \TYPO3\CMS\Form\Domain\Model\Element\RadiogroupElement::class => \TYPO3\CMS\Form\Domain\Model\Element\RadioGroupElement::class,
        'tx_form_Domain_Model_Element_Reset' => \TYPO3\CMS\Form\Domain\Model\Element\ResetElement::class,
        'tx_form_Domain_Model_Element_Select' => \TYPO3\CMS\Form\Domain\Model\Element\SelectElement::class,
        'tx_form_Domain_Model_Element_Submit' => \TYPO3\CMS\Form\Domain\Model\Element\SubmitElement::class,
@@ -799,7 +796,6 @@ return array(
        'tx_form_Domain_Model_JSON_Element' => \TYPO3\CMS\Form\Domain\Model\Json\AbstractJsonElement::class,
        'tx_form_Domain_Model_JSON_Button' => \TYPO3\CMS\Form\Domain\Model\Json\ButtonJsonElement::class,
        'tx_form_Domain_Model_JSON_Checkboxgroup' => \TYPO3\CMS\Form\Domain\Model\Json\CheckboxGroupJsonElement::class,
-       \TYPO3\CMS\Form\Domain\Model\Json\CheckboxgroupJsonElement::class => \TYPO3\CMS\Form\Domain\Model\Json\CheckboxGroupJsonElement::class,
        'tx_form_Domain_Model_JSON_Checkbox' => \TYPO3\CMS\Form\Domain\Model\Json\CheckboxJsonElement::class,
        'tx_form_Domain_Model_JSON_Container' => \TYPO3\CMS\Form\Domain\Model\Json\ContainerJsonElement::class,
        'tx_form_Domain_Model_JSON_Fieldset' => \TYPO3\CMS\Form\Domain\Model\Json\FieldsetJsonElement::class,
@@ -810,7 +806,6 @@ return array(
        'tx_form_Domain_Model_JSON_Name' => \TYPO3\CMS\Form\Domain\Model\Json\NameJsonElement::class,
        'tx_form_Domain_Model_JSON_Password' => \TYPO3\CMS\Form\Domain\Model\Json\PasswordJsonElement::class,
        'tx_form_Domain_Model_JSON_Radiogroup' => \TYPO3\CMS\Form\Domain\Model\Json\RadioGroupJsonElement::class,
-       \TYPO3\CMS\Form\Domain\Model\Json\RadiogroupJsonElement::class => \TYPO3\CMS\Form\Domain\Model\Json\RadioGroupJsonElement::class,
        'tx_form_Domain_Model_JSON_Radio' => \TYPO3\CMS\Form\Domain\Model\Json\RadioJsonElement::class,
        'tx_form_Domain_Model_JSON_Reset' => \TYPO3\CMS\Form\Domain\Model\Json\ResetJsonElement::class,
        'tx_form_Domain_Model_JSON_Select' => \TYPO3\CMS\Form\Domain\Model\Json\SelectJsonElement::class,
@@ -829,15 +824,11 @@ return array(
        'tx_form_System_Filter_Integer' => \TYPO3\CMS\Form\Filter\IntegerFilter::class,
        'tx_form_System_Filter_Lowercase' => \TYPO3\CMS\Form\Filter\LowerCaseFilter::class,
        'tx_form_System_Filter_Regexp' => \TYPO3\CMS\Form\Filter\RegExpFilter::class,
-       \TYPO3\CMS\Form\Filter\RegexpFilter::class => \TYPO3\CMS\Form\Filter\RegExpFilter::class,
        'tx_form_System_Filter_Removexss' => \TYPO3\CMS\Form\Filter\RemoveXssFilter::class,
        'tx_form_System_Filter_Stripnewlines' => \TYPO3\CMS\Form\Filter\StripNewLinesFilter::class,
-       \TYPO3\CMS\Form\Filter\StripnewlinesFilter::class => \TYPO3\CMS\Form\Filter\StripNewLinesFilter::class,
        'tx_form_System_Filter_Titlecase' => \TYPO3\CMS\Form\Filter\TitleCaseFilter::class,
-       \TYPO3\CMS\Form\Filter\TitlecaseFilter::class => \TYPO3\CMS\Form\Filter\TitleCaseFilter::class,
        'tx_form_System_Filter_Trim' => \TYPO3\CMS\Form\Filter\TrimFilter::class,
        'tx_form_System_Filter_Uppercase' => \TYPO3\CMS\Form\Filter\UpperCaseFilter::class,
-       \TYPO3\CMS\Form\Filter\UppercaseFilter::class => \TYPO3\CMS\Form\Filter\UpperCaseFilter::class,
        'tx_form_System_Filter' => \TYPO3\CMS\Form\Utility\FilterUtility::class,
        'tx_form_System_Layout' => \TYPO3\CMS\Form\Layout::class,
        'tx_form_System_Localization' => \TYPO3\CMS\Form\Localization::class,
@@ -856,23 +847,17 @@ return array(
        'tx_form_System_Validate_Email' => \TYPO3\CMS\Form\Validation\EmailValidator::class,
        'tx_form_System_Validate_Equals' => \TYPO3\CMS\Form\Validation\EqualsValidator::class,
        'tx_form_System_Validate_Fileallowedtypes' => \TYPO3\CMS\Form\Validation\FileAllowedTypesValidator::class,
-       \TYPO3\CMS\Form\Validation\FileallowedtypesValidator::class => \TYPO3\CMS\Form\Validation\FileAllowedTypesValidator::class,
        'tx_form_System_Validate_Filemaximumsize' => \TYPO3\CMS\Form\Validation\FileMaximumSizeValidator::class,
-       \TYPO3\CMS\Form\Validation\FilemaximumsizeValidator::class => \TYPO3\CMS\Form\Validation\FileMaximumSizeValidator::class,
        'tx_form_System_Validate_Fileminimumsize' => \TYPO3\CMS\Form\Validation\FileMinimumSizeValidator::class,
-       \TYPO3\CMS\Form\Validation\FileminimumsizeValidator::class => \TYPO3\CMS\Form\Validation\FileMinimumSizeValidator::class,
        'tx_form_System_Validate_Float' => \TYPO3\CMS\Form\Validation\FloatValidator::class,
        'tx_form_System_Validate_Greaterthan' => \TYPO3\CMS\Form\Validation\GreaterThanValidator::class,
-       \TYPO3\CMS\Form\Validation\GreaterthanValidator::class => \TYPO3\CMS\Form\Validation\GreaterThanValidator::class,
        'tx_form_System_Validate_Inarray' => \TYPO3\CMS\Form\Validation\InArrayValidator::class,
-       \TYPO3\CMS\Form\Validation\InarrayValidator::class => \TYPO3\CMS\Form\Validation\InArrayValidator::class,
        'tx_form_System_Validate_Integer' => \TYPO3\CMS\Form\Validation\IntegerValidator::class,
        'tx_form_System_Validate_Interface' => \TYPO3\CMS\Form\Validation\ValidatorInterface::class,
        'tx_form_System_Validate_Ip' => \TYPO3\CMS\Form\Validation\IpValidator::class,
        'tx_form_System_Validate_Length' => \TYPO3\CMS\Form\Validation\LengthValidator::class,
        'tx_form_System_Validate_Lessthan' => \TYPO3\CMS\Form\Validation\LessthanValidator::class,
        'tx_form_System_Validate_Regexp' => \TYPO3\CMS\Form\Validation\RegExpValidator::class,
-       \TYPO3\CMS\Form\Validation\RegexpValidator::class => \TYPO3\CMS\Form\Validation\RegExpValidator::class,
        'tx_form_System_Validate_Required' => \TYPO3\CMS\Form\Validation\RequiredValidator::class,
        'tx_form_System_Validate_Uri' => \TYPO3\CMS\Form\Validation\UriValidator::class,
        'tx_form_View_Confirmation_Additional' => \TYPO3\CMS\Form\View\Confirmation\Additional\AdditionalElementView::class,
@@ -882,7 +867,6 @@ return array(
        'tx_form_View_Confirmation_Element_Abstract' => \TYPO3\CMS\Form\View\Confirmation\Element\AbstractElementView::class,
        'tx_form_View_Confirmation_Element_Checkbox' => \TYPO3\CMS\Form\View\Confirmation\Element\CheckboxElementView::class,
        'tx_form_View_Confirmation_Element_Checkboxgroup' => \TYPO3\CMS\Form\View\Confirmation\Element\CheckboxGroupElementView::class,
-       \TYPO3\CMS\Form\View\Confirmation\Element\CheckboxgroupElementView::class => \TYPO3\CMS\Form\View\Confirmation\Element\CheckboxGroupElementView::class,
        'tx_form_View_Confirmation_Element_Container' => \TYPO3\CMS\Form\View\Confirmation\Element\ContainerElementView::class,
        'tx_form_View_Confirmation_Element_Fieldset' => \TYPO3\CMS\Form\View\Confirmation\Element\FieldsetElementView::class,
        'tx_form_View_Confirmation_Element_Fileupload' => \TYPO3\CMS\Form\View\Confirmation\Element\FileuploadElementView::class,
@@ -890,7 +874,6 @@ return array(
        'tx_form_View_Confirmation_Element_Option' => \TYPO3\CMS\Form\View\Confirmation\Element\OptionElementView::class,
        'tx_form_View_Confirmation_Element_Radio' => \TYPO3\CMS\Form\View\Confirmation\Element\RadioElementView::class,
        'tx_form_View_Confirmation_Element_Radiogroup' => \TYPO3\CMS\Form\View\Confirmation\Element\RadioGroupElementView::class,
-       \TYPO3\CMS\Form\View\Confirmation\Element\RadiogroupElementView::class => \TYPO3\CMS\Form\View\Confirmation\Element\RadioGroupElementView::class,
        'tx_form_View_Confirmation_Element_Select' => \TYPO3\CMS\Form\View\Confirmation\Element\SelectElementView::class,
        'tx_form_View_Confirmation_Element_Textarea' => \TYPO3\CMS\Form\View\Confirmation\Element\TextareaElementView::class,
        'tx_form_View_Confirmation_Element_Textline' => \TYPO3\CMS\Form\View\Confirmation\Element\TextlineElementView::class,
@@ -903,7 +886,6 @@ return array(
        'tx_form_View_Form_Element_Button' => \TYPO3\CMS\Form\View\Form\Element\ButtonElementView::class,
        'tx_form_View_Form_Element_Checkbox' => \TYPO3\CMS\Form\View\Form\Element\CheckboxElementView::class,
        'tx_form_View_Form_Element_Checkboxgroup' => \TYPO3\CMS\Form\View\Form\Element\CheckboxGroupElementView::class,
-       \TYPO3\CMS\Form\View\Form\Element\CheckboxgroupElementView::class => \TYPO3\CMS\Form\View\Form\Element\CheckboxGroupElementView::class,
        'tx_form_View_Form_Element_Container' => \TYPO3\CMS\Form\View\Form\Element\ContainerElementView::class,
        'tx_form_View_Form_Element_Content' => \TYPO3\CMS\Form\View\Form\Element\ContentElementView::class,
        'tx_form_View_Form_Element_Fieldset' => \TYPO3\CMS\Form\View\Form\Element\FieldsetElementView::class,
@@ -916,7 +898,6 @@ return array(
        'tx_form_View_Form_Element_Password' => \TYPO3\CMS\Form\View\Form\Element\PasswordElementView::class,
        'tx_form_View_Form_Element_Radio' => \TYPO3\CMS\Form\View\Form\Element\RadioElementView::class,
        'tx_form_View_Form_Element_Radiogroup' => \TYPO3\CMS\Form\View\Form\Element\RadioGroupElementView::class,
-       \TYPO3\CMS\Form\View\Form\Element\RadiogroupElementView::class => \TYPO3\CMS\Form\View\Form\Element\RadioGroupElementView::class,
        'tx_form_View_Form_Element_Reset' => \TYPO3\CMS\Form\View\Form\Element\ResetElementView::class,
        'tx_form_View_Form_Element_Select' => \TYPO3\CMS\Form\View\Form\Element\SelectElementView::class,
        'tx_form_View_Form_Element_Submit' => \TYPO3\CMS\Form\View\Form\Element\SubmitElementView::class,
@@ -930,7 +911,6 @@ return array(
        'tx_form_View_Mail_Html_Element_Abstract' => \TYPO3\CMS\Form\View\Mail\Html\Element\AbstractElementView::class,
        'tx_form_View_Mail_Html_Element_Checkbox' => \TYPO3\CMS\Form\View\Mail\Html\Element\CheckboxElementView::class,
        'tx_form_View_Mail_Html_Element_Checkboxgroup' => \TYPO3\CMS\Form\View\Mail\Html\Element\CheckboxGroupElementView::class,
-       \TYPO3\CMS\Form\View\Mail\Html\Element\CheckboxgroupElementView::class => \TYPO3\CMS\Form\View\Mail\Html\Element\CheckboxGroupElementView::class,
        'tx_form_View_Mail_Html_Element_Container' => \TYPO3\CMS\Form\View\Mail\Html\Element\ContainerElementView::class,
        'tx_form_View_Mail_Html_Element_Fieldset' => \TYPO3\CMS\Form\View\Mail\Html\Element\FieldsetElementView::class,
        'tx_form_View_Mail_Html_Element_Fileupload' => \TYPO3\CMS\Form\View\Mail\Html\Element\FileuploadElementView::class,
@@ -939,7 +919,6 @@ return array(
        'tx_form_View_Mail_Html_Element_Option' => \TYPO3\CMS\Form\View\Mail\Html\Element\OptionElementView::class,
        'tx_form_View_Mail_Html_Element_Radio' => \TYPO3\CMS\Form\View\Mail\Html\Element\RadioElementView::class,
        'tx_form_View_Mail_Html_Element_Radiogroup' => \TYPO3\CMS\Form\View\Mail\Html\Element\RadioGroupElementView::class,
-       \TYPO3\CMS\Form\View\Mail\Html\Element\RadiogroupElementView::class => \TYPO3\CMS\Form\View\Mail\Html\Element\RadioGroupElementView::class,
        'tx_form_View_Mail_Html_Element_Select' => \TYPO3\CMS\Form\View\Mail\Html\Element\SelectElementView::class,
        'tx_form_View_Mail_Html_Element_Textarea' => \TYPO3\CMS\Form\View\Mail\Html\Element\TextareaElementView::class,
        'tx_form_View_Mail_Html_Element_Textline' => \TYPO3\CMS\Form\View\Mail\Html\Element\TextlineElementView::class,
@@ -948,7 +927,6 @@ return array(
        'tx_form_View_Mail_Plain_Element_Abstract' => \TYPO3\CMS\Form\View\Mail\Plain\Element\AbstractElementView::class,
        'tx_form_View_Mail_Plain_Element_Checkbox' => \TYPO3\CMS\Form\View\Mail\Plain\Element\CheckboxElementView::class,
        'tx_form_View_Mail_Plain_Element_Checkboxgroup' => \TYPO3\CMS\Form\View\Mail\Plain\Element\CheckboxGroupElementView::class,
-       \TYPO3\CMS\Form\View\Mail\Plain\Element\CheckboxgroupElementView::class => \TYPO3\CMS\Form\View\Mail\Plain\Element\CheckboxGroupElementView::class,
        'tx_form_View_Mail_Plain_Element_Container' => \TYPO3\CMS\Form\View\Mail\Plain\Element\ContainerElementView::class,
        'tx_form_View_Mail_Plain_Element_Fieldset' => \TYPO3\CMS\Form\View\Mail\Plain\Element\FieldsetElementView::class,
        'tx_form_View_Mail_Plain_Element_Fileupload' => \TYPO3\CMS\Form\View\Mail\Plain\Element\FileuploadElementView::class,
@@ -957,7 +935,6 @@ return array(
        'tx_form_View_Mail_Plain_Element_Option' => \TYPO3\CMS\Form\View\Mail\Plain\Element\OptionElementView::class,
        'tx_form_View_Mail_Plain_Element_Radio' => \TYPO3\CMS\Form\View\Mail\Plain\Element\RadioElementView::class,
        'tx_form_View_Mail_Plain_Element_Radiogroup' => \TYPO3\CMS\Form\View\Mail\Plain\Element\RadioGroupElementView::class,
-       \TYPO3\CMS\Form\View\Mail\Plain\Element\RadiogroupElementView::class => \TYPO3\CMS\Form\View\Mail\Plain\Element\RadioGroupElementView::class,
        'tx_form_View_Mail_Plain_Element_Select' => \TYPO3\CMS\Form\View\Mail\Plain\Element\SelectElementView::class,
        'tx_form_View_Mail_Plain_Element_Textarea' => \TYPO3\CMS\Form\View\Mail\Plain\Element\TextareaElementView::class,
        'tx_form_View_Mail_Plain_Element_Textline' => \TYPO3\CMS\Form\View\Mail\Plain\Element\TextlineElementView::class,
@@ -1071,10 +1048,10 @@ return array(
        'tx_infopagetsconfig_webinfo' => \TYPO3\CMS\InfoPagetsconfig\Controller\InfoPageTyposcriptConfigController::class,
        'tx_coreupdates_compatversion' => \TYPO3\CMS\Install\Updates\CompatVersionUpdate::class,
        'Tx_Install_Service_BasicService' => \TYPO3\CMS\Install\Service\EnableFileService::class,
-       \TYPO3\CMS\Install\EnableFileService::class => \TYPO3\CMS\Install\Service\EnableFileService::class,
+       'TYPO3\\CMS\\Install\\EnableFileService' => \TYPO3\CMS\Install\Service\EnableFileService::class,
        'tx_install_report_InstallStatus' => \TYPO3\CMS\Install\Report\InstallStatusReport::class,
        'tx_install_session' => \TYPO3\CMS\Install\Service\SessionService::class,
-       \TYPO3\CMS\Install\Session::class => \TYPO3\CMS\Install\Service\SessionService::class,
+       'TYPO3\\CMS\\Install\\Session' => \TYPO3\CMS\Install\Service\SessionService::class,
        't3lib_install_Sql' => \TYPO3\CMS\Install\Service\SqlSchemaMigrationService::class,
        'TYPO3\\CMS\\Install\\Sql\\SchemaMigrator' => \TYPO3\CMS\Install\Service\SqlSchemaMigrationService::class,
        'Tx_Install_Updates_Base' => \TYPO3\CMS\Install\Updates\AbstractUpdate::class,
@@ -1203,7 +1180,7 @@ return array(
        'tx_rtehtmlarea_base' => \TYPO3\CMS\Rtehtmlarea\RteHtmlAreaBase::class,
        'tx_rtehtmlarea_select_image' => \TYPO3\CMS\Rtehtmlarea\SelectImage::class,
        'tx_rtehtmlarea_user' => \TYPO3\CMS\Rtehtmlarea\Controller\UserElementsController::class,
-       \TYPO3\CMS\Rtehtmlarea\ImageFolderTree::class => \TYPO3\CMS\Rtehtmlarea\FolderTree::class,
+       'TYPO3\\CMS\\Rtehtmlarea\\ImageFolderTree' => \TYPO3\CMS\Rtehtmlarea\FolderTree::class,
        'tx_saltedpasswords_eval_be' => \TYPO3\CMS\Saltedpasswords\Evaluation\BackendEvaluator::class,
        'tx_saltedpasswords_eval' => \TYPO3\CMS\Saltedpasswords\Evaluation\Evaluator::class,
        'tx_saltedpasswords_eval_fe' => \TYPO3\CMS\Saltedpasswords\Evaluation\FrontendEvaluator::class,
index 742ac63..1b73e34 100644 (file)
@@ -51,7 +51,7 @@ class ResultTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * @return \PHPUnit_Framework_MockObject_MockObject
         */
        protected function getMockMessage($type) {
-               return $this->getMock('Tx_Extbase_Error_' . $type, array(), array(), '', FALSE);
+               return $this->getMock('TYPO3\\CMS\\Extbase\\Error\\' . $type, array(), array(), '', FALSE);
        }
 
        /**
index a33dffc..db81421 100644 (file)
@@ -21,12 +21,14 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator;
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
 
+use TYPO3\CMS\Core\Tests\UnitTestCase;
+
 /**
  * Testcase for the abstract base-class of composite-validators
  *
  * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
  */
-class AbstractCompositeValidatorTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
+class AbstractCompositeValidatorTest extends UnitTestCase {
 
        /**
         * @test
index 0bd3646..0c37ae5 100644 (file)
@@ -21,12 +21,14 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator;
  * The TYPO3 project - inspiring people to share!                         *
  *                                                                        */
 
+use TYPO3\CMS\Core\Tests\UnitTestCase;
+
 /**
  * Testcase for the abstract base-class of validators
  *
  * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
  */
-class AbstractValidatorTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
+class AbstractValidatorTest extends UnitTestCase {
 
        /**
         * @test
diff --git a/typo3/sysext/form/Migrations/Code/ClassAliasMap.php b/typo3/sysext/form/Migrations/Code/ClassAliasMap.php
new file mode 100644 (file)
index 0000000..488bdc3
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+return array(
+       'TYPO3\\CMS\\Form\\Domain\\Model\\Attribute\\AcceptcharsetAttribute' => \TYPO3\CMS\Form\Domain\Model\Attribute\AcceptCharsetAttribute::class,
+       'TYPO3\\CMS\\Form\\Domain\\Model\\Element\\CheckboxgroupElement' => \TYPO3\CMS\Form\Domain\Model\Element\CheckboxGroupElement::class,
+       'TYPO3\\CMS\\Form\\Domain\\Model\\Element\\RadiogroupElement' => \TYPO3\CMS\Form\Domain\Model\Element\RadioGroupElement::class,
+       'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\CheckboxgroupJsonElement' => \TYPO3\CMS\Form\Domain\Model\Json\CheckboxGroupJsonElement::class,
+       'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\RadiogroupJsonElement' => \TYPO3\CMS\Form\Domain\Model\Json\RadioGroupJsonElement::class,
+       'TYPO3\\CMS\\Form\\Filter\\RegexpFilter' => \TYPO3\CMS\Form\Filter\RegExpFilter::class,
+       'TYPO3\\CMS\\Form\\Filter\\StripnewlinesFilter' => \TYPO3\CMS\Form\Filter\StripNewLinesFilter::class,
+       'TYPO3\\CMS\\Form\\Filter\\TitlecaseFilter' => \TYPO3\CMS\Form\Filter\TitleCaseFilter::class,
+       'TYPO3\\CMS\\Form\\Filter\\UppercaseFilter' => \TYPO3\CMS\Form\Filter\UpperCaseFilter::class,
+       'TYPO3\\CMS\\Form\\Validation\\FileallowedtypesValidator' => \TYPO3\CMS\Form\Validation\FileAllowedTypesValidator::class,
+       'TYPO3\\CMS\\Form\\Validation\\FilemaximumsizeValidator' => \TYPO3\CMS\Form\Validation\FileMaximumSizeValidator::class,
+       'TYPO3\\CMS\\Form\\Validation\\FileminimumsizeValidator' => \TYPO3\CMS\Form\Validation\FileMinimumSizeValidator::class,
+       'TYPO3\\CMS\\Form\\Validation\\GreaterthanValidator' => \TYPO3\CMS\Form\Validation\GreaterThanValidator::class,
+       'TYPO3\\CMS\\Form\\Validation\\InarrayValidator' => \TYPO3\CMS\Form\Validation\InArrayValidator::class,
+       'TYPO3\\CMS\\Form\\Validation\\RegexpValidator' => \TYPO3\CMS\Form\Validation\RegExpValidator::class,
+       'TYPO3\\CMS\\Form\\View\\Confirmation\\Element\\CheckboxgroupElementView' => \TYPO3\CMS\Form\View\Confirmation\Element\CheckboxGroupElementView::class,
+       'TYPO3\\CMS\\Form\\View\\Confirmation\\Element\\RadiogroupElementView' => \TYPO3\CMS\Form\View\Confirmation\Element\RadioGroupElementView::class,
+       'TYPO3\\CMS\\Form\\View\\Form\\Element\\CheckboxgroupElementView' => \TYPO3\CMS\Form\View\Form\Element\CheckboxGroupElementView::class,
+       'TYPO3\\CMS\\Form\\View\\Form\\Element\\RadiogroupElementView' => \TYPO3\CMS\Form\View\Form\Element\RadioGroupElementView::class,
+       'TYPO3\\CMS\\Form\\View\\Mail\\Html\\Element\\CheckboxgroupElementView' => \TYPO3\CMS\Form\View\Mail\Html\Element\CheckboxGroupElementView::class,
+       'TYPO3\\CMS\\Form\\View\\Mail\\Html\\Element\\RadiogroupElementView' => \TYPO3\CMS\Form\View\Mail\Html\Element\RadioGroupElementView::class,
+       'TYPO3\\CMS\\Form\\View\\Mail\\Plain\\Element\\CheckboxgroupElementView' => \TYPO3\CMS\Form\View\Mail\Plain\Element\CheckboxGroupElementView::class,
+       'TYPO3\\CMS\\Form\\View\\Mail\\Plain\\Element\\RadiogroupElementView' => \TYPO3\CMS\Form\View\Mail\Plain\Element\RadioGroupElementView::class,
+       'TYPO3\\CMS\\Form\\Filter\\RemovexssFilter' => \TYPO3\CMS\Form\Filter\RemoveXssFilter::class,
+);
\ No newline at end of file