From 3497ff3bc903167a6dbf548c5c4fa305fbd58d18 Mon Sep 17 00:00:00 2001
From: Mathias Brodala <mbrodala@pagemachine.de>
Date: Fri, 17 Mar 2017 09:58:33 +0100
Subject: [PATCH] [BUGFIX] Fix deprecation message of two GeneralUtility
 methods

We're only deprecating these two methods, not the whole file.

Resolves: #80316
Releases: master
Change-Id: Ia1727c0996f53caa35d4755d2d5caa04bc48de46
Reviewed-on: https://review.typo3.org/52071
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
---
 typo3/sysext/core/Classes/Utility/GeneralUtility.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3/sysext/core/Classes/Utility/GeneralUtility.php
index 9852ca8f9480..47f714af351e 100644
--- a/typo3/sysext/core/Classes/Utility/GeneralUtility.php
+++ b/typo3/sysext/core/Classes/Utility/GeneralUtility.php
@@ -4175,7 +4175,7 @@ class GeneralUtility
      *
      * @param string $requireFile: Path of the file to be included
      * @return void
-     * @deprecated since TYPO3 CMS 8, this file will be removed in TYPO3 CMS 9
+     * @deprecated since TYPO3 CMS 8, this method will be removed in TYPO3 CMS 9
      */
     public static function requireOnce($requireFile)
     {
@@ -4192,7 +4192,7 @@ class GeneralUtility
      *
      * @param string $requireFile: Path of the file to be included
      * @return void
-     * @deprecated since TYPO3 CMS 8, this file will be removed in TYPO3 CMS 9
+     * @deprecated since TYPO3 CMS 8, this method will be removed in TYPO3 CMS 9
      */
     public static function requireFile($requireFile)
     {
-- 
GitLab