Skip to content

Commit

Permalink
[BUGFIX] Fix AnnotationException
Browse files Browse the repository at this point in the history
Doctrine\Common\Annotations\AnnotationException
[Semantical Error] The annotation "@mkdir" in method
TYPO3\CMS\Core\Utility\GeneralUtility::mkdir() was never imported. Did you
maybe forget to add a "use" statement for this annotation?

Releases: master
Resolves: #88986
Change-Id: I8086ce12da8eb4ae942b5d8eb747c8c253dc3b3d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61517
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
  • Loading branch information
Daniel Huf authored and NeoBlack committed Aug 23, 2019
1 parent 003c5ef commit 808be63
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 @@ -2037,7 +2037,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 @@ -2107,7 +2107,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 808be63

Please sign in to comment.