Revert "[TASK] Let GeneralUtility::makeInstance() throw exception on unknown class" 10/54010/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 8 Sep 2017 10:14:36 +0000 (12:14 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 8 Sep 2017 12:10:31 +0000 (14:10 +0200)
commit161c1446cd54e1936ba97441935264c58441d216
tree7d061b5c7aecc3dfd51775517a599e1dc2b8e190
parent40d483c7c2653ec2141a070680c3887b1a0b0354
Revert "[TASK] Let GeneralUtility::makeInstance() throw exception on unknown class"

This reverts commit 4bc4fb0273cb1b2cbdb025558b5c3ae9d76b0394.

The patch turned a PHP \Error into \Exception, which adds no value,
but can be misleading.

Change-Id: I6cc32da6c0620cb0d717c930d10fa4338d6cefac
Releases: master, 8.7
Resolves: #82131
Reverts: #82131
Reviewed-on: https://review.typo3.org/54004
Reviewed-on: https://review.typo3.org/54010
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php