Skip to content

Commit

Permalink
[BUGFIX] Remove invalid doctype annotations from GeneralUtility
Browse files Browse the repository at this point in the history
In order to prevent Doctrine\Common\Annotations\AnnotationException
s o TYPO3, the unneeded comments in GeneralUtility are adapted.

Releases: 9.5
Resolves: #91034
Relates: #88986
Change-Id: I05cc36cf98e01492ff57f77f863fb79777206487
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64170
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
Ronald Kools authored and bmack committed Apr 15, 2020
1 parent 024358c commit ccc7eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typo3/sysext/core/Classes/Utility/GeneralUtility.php
Expand Up @@ -2099,7 +2099,7 @@ public static function writeFileToTypo3tempDir($filepath, $content)
* and group ownership according to $GLOBALS['TYPO3_CONF_VARS']['SYS']['createGroup']
*
* @param string $newFolder Absolute path to folder, see PHP mkdir() function. Removes trailing slash internally.
* @return bool TRUE if @mkdir went well!
* @return bool TRUE if operation was successful
*/
public static function mkdir($newFolder)
{
Expand Down Expand Up @@ -2177,7 +2177,7 @@ protected static function createDirectoryPath($fullDirectoryPath)
*
* @param string $path Absolute path to folder, see PHP rmdir() function. Removes trailing slash internally.
* @param bool $removeNonEmpty Allow deletion of non-empty directories
* @return bool TRUE if @rmdir went well!
* @return bool TRUE if operation was successful
*/
public static function rmdir($path, $removeNonEmpty = false)
{
Expand Down

0 comments on commit ccc7eae

Please sign in to comment.