[BUGFIX] Fix serializable object creation with PHP 5.6 22/40522/11
authorHelmut Hummel <helmut.hummel@typo3.org>
Fri, 17 Apr 2015 15:47:43 +0000 (17:47 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 1 Dec 2015 11:54:34 +0000 (12:54 +0100)
commit9faa965d27ab9f6823d2ec270f00b7ffd940c1bd
treeeeb92e42706054d80c45648c19598b2efb2fa296
parent71b64be0b9e714d8b93ebace7fa6f87a1c37ea65
[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: 6.2
Change-Id: Ibeaf94ca8227befc4f5a863dd4b688c54b8fcd4c
Reviewed-on: https://review.typo3.org/40522
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
39 files changed:
composer.json
typo3/contrib/vendor/autoload.php
typo3/contrib/vendor/composer/autoload_classmap.php
typo3/contrib/vendor/composer/autoload_psr4.php
typo3/contrib/vendor/composer/autoload_real.php
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/ExceptionAsset.php [new file with mode: 0644]
typo3/contrib/vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/FinalExceptionAsset.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/sysext/extbase/Classes/DomainObject/AbstractDomainObject.php
typo3/sysext/extbase/Classes/Object/Container/Container.php