[TASK] Make "$hookObject must implement interface FooInterface" more verbose 77/48177/2
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 12:15:33 +0000 (14:15 +0200)
commitf4bd6e631189f1a0d8a7be0384f32f4c07f405dd
tree1f08a4ad4b5618c3f9fcaea564a11a0ba6c59ce3
parente9f462332e98f111ef949cac16dd676b275ff6b3
[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/48177
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