[BUGFIX] Fix serializable object creation with PHP 5.6 92/39392/9
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 17 Apr 2015 15:47:43 +0000 (17:47 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 11 May 2015 14:46:17 +0000 (16:46 +0200)
commit3e8f5c46e4c8968038acb22053ca421fec48f903
tree88182114f4f91529ba02b0f621ab68f49446b8b4
parent68e80aae1a14dd13205b211195cb62a7a9fa16b2
[BUGFIX] Fix serializable object creation with PHP 5.6

This makes use of doctrine/instantiator to catch this and many
other PHP issues when instantiating objects without constructor.

Resolves: #66473
Resolves: #66885
Releases: master, 6.2
Change-Id: Ic60b4fda6f4d7aa3f61ce46263011a89f6301f3d
Reviewed-on: http://review.typo3.org/39392
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
54 files changed:
.gitignore
composer.json
typo3/contrib/vendor/README.md [new file with mode: 0644]
typo3/contrib/vendor/autoload.php
typo3/contrib/vendor/composer/ClassLoader.php
typo3/contrib/vendor/composer/autoload_classmap.php
typo3/contrib/vendor/composer/autoload_namespaces.php
typo3/contrib/vendor/composer/autoload_real.php
typo3/contrib/vendor/composer/installed.json [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/.gitignore [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/.scrutinizer.yml [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/.travis.install.sh [new file with mode: 0755]
typo3/contrib/vendor/doctrine/instantiator/.travis.yml [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/CONTRIBUTING.md [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/LICENSE [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/README.md [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/composer.json [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/phpmd.xml.dist [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/phpunit.xml.dist [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/InvalidArgumentException.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Exception/UnexpectedValueException.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorPerformance/InstantiatorPerformanceEvent.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTest/Exception/InvalidArgumentExceptionTest.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTest/Exception/UnexpectedValueExceptionTest.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/AbstractClassAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/ArrayObjectAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/PharAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/PharExceptionAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/SerializableArrayObjectAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/SimpleSerializableAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/SimpleTraitAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/UnCloneableAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/UnserializeExceptionArrayObjectAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/WakeUpNoticesAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/XMLReaderAsset.php [new file with mode: 0644]
typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/ClassAliasGenerator.php [new file with mode: 0644]
typo3/contrib/vendor/helhum/class-alias-loader/Classes/Composer/Plugin.php [new file with mode: 0644]
typo3/contrib/vendor/helhum/class-alias-loader/composer.json
typo3/contrib/vendor/typo3/cms-composer-installers/Classes/TYPO3/CMS/Composer/Installer/CoreInstaller.php [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/Classes/TYPO3/CMS/Composer/Installer/CoreInstaller/GetTypo3OrgService.php [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/Classes/TYPO3/CMS/Composer/Installer/Downloader/T3xDownloader.php [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/Classes/TYPO3/CMS/Composer/Installer/ExtensionInstaller.php [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/Classes/TYPO3/CMS/Composer/Installer/Plugin.php [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/Classes/TYPO3/CMS/Composer/Installer/Util/Filesystem.php [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/README.md [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/composer.json [new file with mode: 0644]
typo3/contrib/vendor/typo3/cms-composer-installers/phpunit.xml [new file with mode: 0644]
typo3/sysext/extbase/Classes/Object/Container/Container.php
typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php
typo3/sysext/extbase/Tests/Unit/Object/Container/Fixtures/Testclasses.php