[TASK] Make "$hookObject must implement interface FooInterface" more verbose 15/48115/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 13 May 2016 14:59:05 +0000 (16:59 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 16 May 2016 11:49:28 +0000 (13:49 +0200)
commite3c4d761770cb04d81ca8c184c7eb1b96ca04f65
tree2a0e2b728f78f7314a4ce175e8122a304f8f57ff
parent2fc9b4bc70a60fdd47a2ce932a7186c4696f6ed9
[TASK] Make "$hookObject must implement interface FooInterface" more verbose

The exceptions show now the affected class that does not
implement the required interface. Where possible, the FQCN
in the exception message string was replaced with the shorter
::class syntax.

Resolves: #76187
Releases: master, 7.6
Change-Id: Id2c290a0cf29bdec5da504a8959996bb747f1c27
Reviewed-on: https://review.typo3.org/48115
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
13 files changed:
typo3/sysext/backend/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php
typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php
typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/core/Classes/Controller/FileDumpController.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/Page/PageRepository.php
typo3/sysext/frontend/Classes/View/AdminPanelView.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php