From 88463e21bfc037fb1fd3197c8511116a58bca0e6 Mon Sep 17 00:00:00 2001 From: Xavier Perseguers Date: Thu, 13 Nov 2014 13:55:26 +0100 Subject: [PATCH] [TASK] Use fully qualified name resolution in PHP 5.5 Since PHP 5.5 is a requirement, calls to GeneralUtility::makeInstance() should use the ::class construct instead of a string argument. Releases: master Resolves: #61788 Change-Id: Ia2efc5a4cb7ecea80b8a1c8e5ff7b5d6fa9a07ce Reviewed-on: http://review.typo3.org/32913 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Alexander Opitz Tested-by: Alexander Opitz Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring Reviewed-by: Markus Klein Tested-by: Markus Klein Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers --- Classes/FrontendEditPanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index 378a3c5..a32042b 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -31,7 +31,7 @@ class FrontendEditPanel { * Constructor for the edit panel */ public function __construct() { - $this->cObj = GeneralUtility::makeInstance('TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer'); + $this->cObj = GeneralUtility::makeInstance(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class); $this->cObj->start(array()); }