[TASK] Turn todos into @todo to find them easier 86/35086/6
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 5 Dec 2014 20:29:34 +0000 (21:29 +0100)
committerFrank Nägler <typo3@naegler.net>
Sat, 6 Dec 2014 23:15:53 +0000 (00:15 +0100)
Also convert FIXME to @todo.

Change-Id: I98cf8a2c4c732acc7024e36ed949fc4546bee439
Resolves: #63619
Releases: master
Reviewed-on: http://review.typo3.org/35086
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
60 files changed:
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
typo3/sysext/backend/Classes/Controller/Wizard/FormsController.php
typo3/sysext/backend/Classes/Module/ModuleLoader.php
typo3/sysext/backend/Classes/Module/ModuleSettings.php
typo3/sysext/backend/Classes/Tree/AbstractTreeStateProvider.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/belog/Classes/Domain/Model/HistoryEntry.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Database/SqlParser.php
typo3/sysext/core/Classes/Locking/Locker.php
typo3/sysext/core/Classes/Package/PackageFactory.php
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/ProcessedFile.php
typo3/sysext/core/Classes/Resource/Processing/ImagePreviewTask.php
typo3/sysext/core/Classes/Resource/Processing/TaskInterface.php
typo3/sysext/core/Classes/Resource/ResourceFactory.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Classes/Tree/TableConfiguration/TreeDataProviderFactory.php
typo3/sysext/core/Classes/Utility/CommandUtility.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/dbal/Classes/Database/SqlParser.php
typo3/sysext/extbase/Classes/Mvc/Request.php
typo3/sysext/extbase/Classes/Persistence/Generic/BackendInterface.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/ColumnMap.php
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapFactory.php
typo3/sysext/extbase/Classes/Persistence/Generic/Qom/EquiJoinCondition.php
typo3/sysext/extbase/Classes/Persistence/Generic/Query.php
typo3/sysext/extbase/Classes/Persistence/Generic/Session.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Classes/Persistence/PersistenceManagerInterface.php
typo3/sysext/extbase/Classes/Validation/Validator/BooleanValidator.php
typo3/sysext/extbase/Classes/Validation/Validator/StringLengthValidator.php
typo3/sysext/extbase/Classes/Validation/ValidatorResolver.php
typo3/sysext/extensionmanager/Classes/Utility/Importer/ExtensionListUtility.php
typo3/sysext/extensionmanager/Classes/Utility/Importer/MirrorListUtility.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/fluid/Classes/Core/Compiler/TemplateCompiler.php
typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ArrayNode.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/LinkViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Widget/UriViewHelper.php
typo3/sysext/form/Classes/View/Wizard/WizardView.php
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport.js
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/indexed_search/Classes/Controller/IndexedPagesController.php
typo3/sysext/indexed_search/Classes/Indexer.php
typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php
typo3/sysext/openid/lib/php-openid/Auth/OpenID.php
typo3/sysext/openid/lib/php-openid/Auth/OpenID/Discover.php
typo3/sysext/reports/Classes/Report/Status/Status.php
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/t3editor/Classes/T3editor.php
typo3/sysext/t3editor/res/jslib/ts_codecompletion/tscodecompletion.js
typo3/sysext/version/Classes/Hook/PreviewHook.php
typo3/sysext/version/Classes/Utility/WorkspacesUtility.php
typo3/sysext/workspaces/Classes/Controller/PreviewController.php
typo3/sysext/workspaces/Classes/Service/AutoPublishService.php
typo3/sysext/workspaces/ext_tables.php

index 1ce8198..fef0bf8 100644 (file)
@@ -638,7 +638,7 @@ class BackendController {
         * @throws \InvalidArgumentException
         */
        public function addJavascript($javascript) {
-               // TODO do we need more checks?
+               // @todo do we need more checks?
                if (!is_string($javascript)) {
                        throw new \InvalidArgumentException('parameter $javascript must be of type string', 1195129553);
                }
@@ -653,7 +653,7 @@ class BackendController {
         */
        public function addJavascriptFile($javascriptFile) {
                $jsFileAdded = FALSE;
-               //TODO add more checks if necessary
+               // @todo add more checks if necessary
                if (file_exists(GeneralUtility::resolveBackPath(PATH_typo3 . $javascriptFile))) {
                        $this->jsFiles[] = $javascriptFile;
                        $jsFileAdded = TRUE;
index 94cd94c..ce5ab80 100644 (file)
@@ -189,7 +189,7 @@ class ElementInformationController {
                if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/show_item.php']['typeRendering'])) {
                        foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/show_item.php']['typeRendering'] as $classRef) {
                                $typeRenderObj = GeneralUtility::getUserObj($classRef);
-                               // @TODO should have an interface
+                               // @todo should have an interface
                                if (is_object($typeRenderObj) && method_exists($typeRenderObj, 'isValid') && method_exists($typeRenderObj, 'render')) {
                                        if ($typeRenderObj->isValid($this->type, $this)) {
                                                $this->content .= $typeRenderObj->render($this->type, $this);
@@ -237,7 +237,7 @@ class ElementInformationController {
         * @return string
         */
        protected function renderPreview() {
-               // Perhaps @TODO in future: Also display preview for records - without fileObject
+               // Perhaps @todo in future: Also display preview for records - without fileObject
                if (!$this->fileObject) {
                        return;
                }
index 3adb409..ff2eaae 100644 (file)
@@ -461,7 +461,7 @@ class FormsController extends AbstractWizardController {
                                        $ctrl = '';
                                        $onClick = 'document.wizardForm.action+=\'#ANC_' . (($k + 1) * 2 - 2) . '\';';
                                        $onClick = ' onclick="' . htmlspecialchars($onClick) . '"';
-                                       // FIXME $inputStyle undefined
+                                       // @todo $inputStyle undefined
                                        $brTag = $inputStyle ? '' : '<br />';
                                        if ($k != 0) {
                                                $ctrl .= '<input type="image" name="FORMCFG[row_up][' . ($k + 1) * 2 . ']"' . IconUtility::skinImg($this->doc->backPath, 'gfx/pil2up.gif', '') . $onClick . ' title="' . $this->getLanguageService()->getLL('table_up', TRUE) . '" />' . $brTag;
@@ -469,7 +469,7 @@ class FormsController extends AbstractWizardController {
                                                $ctrl .= '<input type="image" name="FORMCFG[row_bottom][' . ($k + 1) * 2 . ']"' . IconUtility::skinImg($this->doc->backPath, 'gfx/turn_up.gif', '') . $onClick . ' title="' . $this->getLanguageService()->getLL('table_bottom', TRUE) . '" />' . $brTag;
                                        }
                                        $ctrl .= '<input type="image" name="FORMCFG[row_remove][' . ($k + 1) * 2 . ']"' . IconUtility::skinImg($this->doc->backPath, 'gfx/garbage.gif', '') . $onClick . ' title="' . $this->getLanguageService()->getLL('table_removeRow', TRUE) . '" />' . $brTag;
-                                       // FIXME $tLines undefined
+                                       // @todo $tLines undefined
                                        if ($k + 1 != count($tLines)) {
                                                $ctrl .= '<input type="image" name="FORMCFG[row_down][' . ($k + 1) * 2 . ']"' . IconUtility::skinImg($this->doc->backPath, 'gfx/pil2down.gif', '') . $onClick . ' title="' . $this->getLanguageService()->getLL('table_down', TRUE) . '" />' . $brTag;
                                        } else {
index 360e8a9..c6e9d0d 100644 (file)
@@ -170,7 +170,7 @@ class ModuleLoader {
                                                } else {
                                                        // 'CLASSIC' submodule
                                                        // Checking for typo3/mod/xxx/ module existence...
-                                                       // FIXME what about $path = 1; from above and using $path as string here?
+                                                       // @todo what about $path = 1; from above and using $path as string here?
                                                        $theTempSubMod = $this->checkMod($mods . '_' . $valsub, $path . $mods . '/' . $valsub);
                                                        // Default sub-module in either main-module-path, be it the default or the userdefined.
                                                        if (is_array($theTempSubMod)) {
@@ -189,7 +189,7 @@ class ModuleLoader {
                                // This must be done in order to fill out the select-lists for modules correctly!!
                                if (is_array($subMod)) {
                                        foreach ($subMod as $valsub) {
-                                               // FIXME path can only be NULL here, or not?
+                                               // @todo path can only be NULL here, or not?
                                                $this->checkMod($mods . '_' . $valsub, $path . $mods . '/' . $valsub);
                                        }
                                }
index eb647f6..06c88db 100644 (file)
@@ -414,7 +414,7 @@ class ModuleSettings {
                        $code .= '
                        <div><strong>' . htmlspecialchars($this->msg) . '</strong></div>';
                }
-               // TODO need to add parameters
+               // @todo need to add parameters
                if ($useOwnForm and trim($code)) {
                        $code = '
                <form action="' . GeneralUtility::getIndpEnv('SCRIPT_NAME') . '" method="post" name="' . $this->formName . '" enctype="' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'] . '">' . $code . '</form>';
index 84ce9c9..912b478 100644 (file)
@@ -16,7 +16,7 @@ namespace TYPO3\CMS\Backend\Tree;
 /**
  * Abstract State Provider
  *
- * @TODO This class is incomplete, because the methods still need
+ * @todo This class is incomplete, because the methods still need
  * @author Stefan Galinski <stefan.galinski@gmail.com>
  * @author Steffen Ritter <info@steffen-ritter.net>
  */
index 49f474c..a59bbec 100644 (file)
@@ -3874,7 +3874,7 @@ class BackendUtility {
                                                $versionState = VersionState::cast($wsAlt['t3ver_state']);
                                        }
                                        if ($versionState->equals(VersionState::MOVE_POINTER)) {
-                                               // TODO: Same problem as frontend in versionOL(). See TODO point there.
+                                               // @todo Same problem as frontend in versionOL(). See TODO point there.
                                                $row = FALSE;
                                                return;
                                        }
index 6d30d85..884ab40 100644 (file)
@@ -35,7 +35,7 @@ class HistoryEntry extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
         * @return void
         */
        public function setFieldlist($fieldlist) {
-               // TODO think about exploding this to an array
+               // @todo think about exploding this to an array
                $this->fieldlist = $fieldlist;
        }
 
index 9493ab2..3e58003 100644 (file)
@@ -2883,7 +2883,7 @@ class DataHandler {
                                $id = 0;
                                $this->log($table, $id, 2, 0, 1, 'Attempt to modify table \'%s\' without permission', 1, array($table));
                        }
-                       // FIXME: $id not set here (Comment added by Sebastian Kurfürst)
+                       // @todo $id not set here (Comment added by Sebastian Kurfürst)
                        // Check basic permissions and circumstances:
                        if (isset($GLOBALS['TCA'][$table]) && !$this->tableReadOnly($table) && is_array($this->cmdmap[$table]) && $modifyAccessList) {
                                // Traverse the command map:
index fc7cc68..7fbe4a8 100644 (file)
@@ -528,7 +528,7 @@ class SqlParser {
                                                        $result['KEY'] = $fieldKey;
                                                        break;
                                                case 'DROPPRIMARYKEY':
-                                                       // ??? todo!
+                                                       // @todo ???
                                                        break;
                                                case 'DEFAULTCHARACTERSET':
                                                        $result['charset'] = $fieldKey;
@@ -654,7 +654,7 @@ class SqlParser {
                if (strlen($parseString) == 0) {
                        return $stack;
                }
-               // FIXME - should never happen, why does it?
+               // @todo - should never happen, why does it?
                // Pointer to positions in $stack
                $pnt = 0;
                // Indicates the parenthesis level we are at.
index 397f246..510c250 100644 (file)
@@ -171,7 +171,7 @@ class Locker {
         * @deprecated since 6.2 - will be removed two versions later; use new API instead
         */
        public function acquire() {
-               // TODO refactor locking in TSFE to use the new API, then this call can be logged
+               // @todo refactor locking in TSFE to use the new API, then this call can be logged
                // GeneralUtility::logDeprecatedFunction();
 
                // Default is TRUE, which means continue without caring for other clients.
index 6a05be6..5a68e6b 100644 (file)
@@ -52,7 +52,7 @@ class PackageFactory extends \TYPO3\Flow\Package\PackageFactory {
                if (@file_exists($packageClassPathAndFilename)) {
                        require_once($packageClassPathAndFilename);
                        if (substr($packagePath, 0, strlen(PATH_typo3)) === PATH_typo3 && strpos($packageKey, '.') === FALSE) {
-                               //TODO Remove this exception once the systextension are renamed to proper Flow naming scheme packages
+                               // @todo Remove this exception once the systextension are renamed to proper Flow naming scheme packages
                                $packageClassName = 'TYPO3\\CMS\\' . \TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToUpperCamelCase($packageKey) . '\Package';
                        } else {
                                $packageClassName = str_replace('.', '\\', $packageKey) . '\Package';
index 3739502..f2196b8 100644 (file)
@@ -2219,7 +2219,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface {
                        // Swedish
                        $localeMap['se'] = 'se_SV';
                        $extJsLang = isset($localeMap[$this->lang]) ? $localeMap[$this->lang] : $this->lang;
-                       // TODO autoconvert file from UTF8 to current BE charset if necessary!!!!
+                       // @todo autoconvert file from UTF8 to current BE charset if necessary!!!!
                        $extJsLocaleFile = $this->extJsPath . 'locale/ext-lang-' . $extJsLang . '.js';
                        if (file_exists(PATH_typo3 . $extJsLocaleFile)) {
                                $out .= '<script src="' . $this->processJsFile(($this->backPath . $extJsLocaleFile)) . '" type="text/javascript" charset="utf-8"></script>' . LF;
index 8724bb6..e0b6c7a 100644 (file)
@@ -647,7 +647,7 @@ class LocalDriver extends AbstractHierarchicalFilesystemDriver {
                $localFilePath = $this->canonicalizeAndCheckFilePath($localFilePath);
                // as for the "virtual storage" for backwards-compatibility, this check always fails, as the file probably lies under PATH_site
                // thus, it is not checked here
-               // @ todo is check in storage
+               // @todo is check in storage
                if (GeneralUtility::isFirstPartOfStr($localFilePath, $this->absoluteBasePath) && $this->storageUid > 0) {
                        throw new \InvalidArgumentException('Cannot add a file that is already part of this storage.', 1314778269);
                }
index 5d339d6..e2f521e 100644 (file)
@@ -147,7 +147,7 @@ class ProcessedFile extends AbstractFile {
         *
         * @return string
         */
-       // TODO replace these usages with direct calls to the task object
+       // @todo replace these usages with direct calls to the task object
        public function calculateChecksum() {
                return $this->getTask()->getConfigurationChecksum();
        }
@@ -177,7 +177,7 @@ class ProcessedFile extends AbstractFile {
                if ($this->identifier === NULL) {
                        throw new \RuntimeException('Cannot update original file!', 1350582054);
                }
-               // TODO this should be more generic (in fact it only works for local file paths)
+               // @todo this should be more generic (in fact it only works for local file paths)
                $addedFile = $this->storage->updateProcessedFile($filePath, $this);
 
                // Update some related properties
@@ -241,7 +241,7 @@ class ProcessedFile extends AbstractFile {
                }
 
                $this->name = $name;
-               // TODO this is a *weird* hack that will fail if the storage is non-hierarchical!
+               // @todo this is a *weird* hack that will fail if the storage is non-hierarchical!
                $this->identifier = $this->storage->getProcessingFolder()->getIdentifier() . $this->name;
 
                $this->updated = TRUE;
@@ -314,10 +314,10 @@ class ProcessedFile extends AbstractFile {
                        $this->properties['uid'] = $properties['uid'];
                }
 
-               // TODO we should have a blacklist of properties that might not be updated
+               // @todo we should have a blacklist of properties that might not be updated
                $this->properties = array_merge($this->properties, $properties);
 
-               // TODO when should this update be done?
+               // @todo when should this update be done?
                if (!$this->isUnchanged() && $this->exists()) {
                        $this->properties = array_merge($this->properties, $this->storage->getFileInfo($this));
                }
@@ -369,7 +369,7 @@ class ProcessedFile extends AbstractFile {
         * @return void
         */
        public function setUsesOriginalFile() {
-               // TODO check if some of these properties can/should be set in a generic update method
+               // @todo check if some of these properties can/should be set in a generic update method
                $this->identifier = $this->originalFile->getIdentifier();
                $this->updated = TRUE;
                $this->originalFileSha1 = $this->originalFile->getSha1();
index 80c7554..10d34c2 100644 (file)
@@ -58,7 +58,7 @@ class ImagePreviewTask extends AbstractGraphicalTask {
         * Returns TRUE if the file has to be processed at all, such as e.g. the original file does.
         *
         * Note: This does not indicate if the concrete ProcessedFile attached to this task has to be (re)processed.
-        * This check is done in ProcessedFile::isOutdated(). TODO isOutdated()/needsReprocessing()?
+        * This check is done in ProcessedFile::isOutdated(). @todo isOutdated()/needsReprocessing()?
         *
         * @return bool
         */
index 3306aef..c0dbfea 100644 (file)
@@ -95,7 +95,7 @@ interface TaskInterface {
         * Returns TRUE if the file has to be processed at all, such as e.g. the original file does.
         *
         * Note: This does not indicate if the concrete ProcessedFile attached to this task has to be (re)processed.
-        * This check is done in ProcessedFile::isOutdated(). TODO isOutdated()/needsReprocessing()?
+        * This check is done in ProcessedFile::isOutdated(). @todo isOutdated()/needsReprocessing()?
         *
         * @return bool
         */
index 13b90d5..3bd8100 100644 (file)
@@ -19,7 +19,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Core\Utility\MathUtility;
 use TYPO3\CMS\Core\Utility\PathUtility;
 
-// TODO implement constructor-level caching
+// @todo implement constructor-level caching
 /**
  * Factory class for FAL objects
  *
@@ -311,7 +311,7 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
                $driverObject = $this->getDriverObject($driverType, $storageConfiguration);
                /** @var $storage ResourceStorage */
                $storage = GeneralUtility::makeInstance($className, $driverObject, $storageRecord);
-               // TODO handle publisher
+               // @todo handle publisher
                return $storage;
        }
 
index b4d49d1..453c6ef 100644 (file)
@@ -1593,7 +1593,7 @@ class ResourceStorage implements ResourceStorageInterface {
         * @return FileInterface
         */
        public function renameFile($file, $targetFileName) {
-               // TODO add $conflictMode setting
+               // @todo add $conflictMode setting
 
                // The name should be different from the current.
                if ($file->getName() === $targetFileName) {
@@ -1708,13 +1708,13 @@ class ResourceStorage implements ResourceStorageInterface {
         * @return Folder
         */
        public function moveFolder(Folder $folderToMove, Folder $targetParentFolder, $newFolderName = NULL, $conflictMode = 'renameNewFolder') {
-               // TODO add tests
+               // @todo add tests
                $originalFolder = $folderToMove->getParentFolder();
                $this->assureFolderMovePermissions($folderToMove, $targetParentFolder);
                $sourceStorage = $folderToMove->getStorage();
                $returnObject = NULL;
                $sanitizedNewFolderName = $this->driver->sanitizeFileName($newFolderName ?: $folderToMove->getName());
-               // TODO check if folder already exists in $targetParentFolder, handle this conflict then
+               // @todo check if folder already exists in $targetParentFolder, handle this conflict then
                $this->emitPreFolderMoveSignal($folderToMove, $targetParentFolder, $sanitizedNewFolderName);
                // Get all file objects now so we are able to update them after moving the folder
                $fileObjects = $this->getAllFileObjectsInFolder($folderToMove);
@@ -1758,7 +1758,7 @@ class ResourceStorage implements ResourceStorageInterface {
         * @return Folder The new (copied) folder object
         */
        public function copyFolder(FolderInterface $folderToCopy, FolderInterface $targetParentFolder, $newFolderName = NULL, $conflictMode = 'renameNewFolder') {
-               // TODO implement the $conflictMode handling
+               // @todo implement the $conflictMode handling
                $this->assureFolderCopyPermissions($folderToCopy, $targetParentFolder);
                $returnObject = NULL;
                $sanitizedNewFolderName = $this->driver->sanitizeFileName($newFolderName ?: $folderToCopy->getName());
index 6dcad78..eed007a 100644 (file)
@@ -94,7 +94,7 @@ class TreeDataProviderFactory {
                        $dataProvider->setItemUnselectableList($unselectableUids);
 
                } elseif ($tcaConfiguration['internal_type'] === 'file' && $dataProvider === NULL) {
-                       // TODO Not implemented yet
+                       // @todo Not implemented yet
                        throw new \InvalidArgumentException('TCA Tree configuration is invalid: tree for "internal_type=file" not implemented yet', 1288215891);
                } elseif ($dataProvider === NULL) {
                        throw new \InvalidArgumentException('TCA Tree configuration is invalid: tree for "internal_type=' . $tcaConfiguration['internal_type'] . '" not implemented yet', 1288215892);
index 20f0fa8..01e06e5 100644 (file)
@@ -174,7 +174,7 @@ class CommandUtility {
                        if ($validPath) {
                                if (TYPO3_OS == 'WIN') {
                                                // Windows OS
-                                               // TODO Why is_executable() is not called here?
+                                               // @todo Why is_executable() is not called here?
                                        if (@is_file($path . $cmd)) {
                                                self::$applications[$cmd]['app'] = $cmd;
                                                self::$applications[$cmd]['path'] = $path;
index 5805703..3604143 100755 (executable)
@@ -960,7 +960,7 @@ class GeneralUtility {
                $labelArr = explode('|', $labels);
                // Find size:
                if ($sizeInBytes > 900) {
-                       // TODO find out which locale is used for current BE user to cover the BE case as well
+                       // @todo find out which locale is used for current BE user to cover the BE case as well
                        $locale = is_object($GLOBALS['TSFE']) ? $GLOBALS['TSFE']->config['config']['locale_all'] : '';
                        $oldLocale = setlocale(LC_NUMERIC, 0);
                        if ($locale) {
index 42004b3..ecc3798 100644 (file)
@@ -154,7 +154,7 @@ class SqlParser extends \TYPO3\CMS\Core\Database\SqlParser {
                                                        $outputParts[$k] .= ' ' . $v['sortDir'];
                                                }
                                        }
-                                       // TODO: Handle SQL hints in comments according to current DBMS
+                                       // @todo Handle SQL hints in comments according to current DBMS
                                        if (FALSE && $selectFields[0]['comments']) {
                                                $output = $selectFields[0]['comments'] . ' ';
                                        }
@@ -341,7 +341,7 @@ class SqlParser extends \TYPO3\CMS\Core\Database\SqlParser {
                                        case 'DEFAULTCHARACTERSET':
 
                                        case 'ENGINE':
-                                               // ??? todo!
+                                               // @todo ???
                                                break;
                                }
                                break;
index 23de2ee..be946d1 100644 (file)
@@ -181,7 +181,7 @@ class Request implements RequestInterface {
                                $this->controllerObjectNamePattern
                        );
                }
-               // TODO implement getCaseSensitiveObjectName()
+               // @todo implement getCaseSensitiveObjectName()
                if ($objectName === FALSE) {
                        throw new \TYPO3\CMS\Extbase\Mvc\Exception\NoSuchControllerException('The controller object "' . $objectName . '" does not exist.', 1220884009);
                }
index 68efd3a..a037e00 100644 (file)
@@ -58,7 +58,7 @@ interface BackendInterface {
         */
        public function commit();
 
-       // TODO refactor towards being closer to the Flow backend interface again
+       // @todo refactor towards being closer to the Flow backend interface again
 
        /**
         * Returns the (internal) identifier for the object, if it is known to the
index 831bc54..d1eeef7 100644 (file)
@@ -173,7 +173,7 @@ class ColumnMap {
         * @return \TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap
         */
        public function __construct($columnName, $propertyName) {
-               // TODO Enable aliases (tx_anotherextension_addedcolumn -> theAddedColumn)
+               // @todo Enable aliases (tx_anotherextension_addedcolumn -> theAddedColumn)
                $this->setColumnName($columnName);
                $this->setPropertyName($propertyName);
        }
index 58af226..2337b36 100644 (file)
@@ -122,7 +122,7 @@ class DataMapFactory implements \TYPO3\CMS\Core\SingletonInterface {
                // $classPropertyNames = $this->reflectionService->getClassPropertyNames($className);
                $tcaColumnsDefinition = $this->getColumnsDefinition($tableName);
                \TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule($tcaColumnsDefinition, $columnMapping);
-               // TODO Is this is too powerful?
+               // @todo Is this is too powerful?
 
                foreach ($tcaColumnsDefinition as $columnName => $columnDefinition) {
                        if (isset($columnDefinition['mapOnProperty'])) {
@@ -130,7 +130,8 @@ class DataMapFactory implements \TYPO3\CMS\Core\SingletonInterface {
                        } else {
                                $propertyName = \TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToLowerCamelCase($columnName);
                        }
-                       // if (in_array($propertyName, $classPropertyNames)) { // TODO Enable check for property existance
+                       // if (in_array($propertyName, $classPropertyNames)) {
+                       // @todo Enable check for property existance
                        $columnMap = $this->createColumnMap($columnName, $propertyName);
                        $propertyMetaData = $this->reflectionService->getClassSchema($className)->getProperty($propertyName);
                        $columnMap = $this->setType($columnMap, $columnDefinition['config']);
index 91451ee..8e52df3 100644 (file)
@@ -51,7 +51,7 @@ class EquiJoinCondition implements EquiJoinConditionInterface {
         * @param string $property2Name the property name in the second selector; non-null
         */
        public function __construct($selector1Name, $property1Name, $selector2Name, $property2Name) {
-               // TODO Test for selector1Name = selector2Name -> exception
+               // @todo Test for selector1Name = selector2Name -> exception
                $this->selector1Name = $selector1Name;
                $this->property1Name = $property1Name;
                $this->selector2Name = $selector2Name;
index 9fd60ed..318a847 100644 (file)
@@ -164,7 +164,7 @@ class Query implements QueryInterface {
 
        /**
         * Returns the selectorn name or an empty string, if the source is not a selector
-        * TODO This has to be checked at another place
+        * @todo This has to be checked at another place
         *
         * @return string The selector name
         */
index b128725..dece297 100644 (file)
@@ -30,7 +30,7 @@ class Session implements \TYPO3\CMS\Core\SingletonInterface {
        /**
         * Reconstituted entity data (effectively their clean state)
         * Currently unused in Extbase
-        * TODO make use of it in Extbase
+        * @todo make use of it in Extbase
         *
         * @var array
         */
@@ -119,7 +119,7 @@ class Session implements \TYPO3\CMS\Core\SingletonInterface {
                return $this->reconstitutedEntities->contains($entity);
        }
 
-       // TODO implement the is dirty checking behaviour of the Flow persistence session here
+       // @todo implement the is dirty checking behaviour of the Flow persistence session here
 
        /**
         * Checks whether the given object is known to the identity map
index e4ccfd7..772deba 100644 (file)
@@ -545,7 +545,7 @@ class Typo3DbBackend implements BackendInterface, \TYPO3\CMS\Core\SingletonInter
                $dataMap = $this->dataMapper->getDataMap(get_class($object));
                $properties = $object->_getProperties();
                foreach ($properties as $propertyName => $propertyValue) {
-                       // FIXME We couple the Backend to the Entity implementation (uid, isClone); changes there breaks this method
+                       // @todo We couple the Backend to the Entity implementation (uid, isClone); changes there breaks this method
                        if ($dataMap->isPersistableProperty($propertyName) && $propertyName !== 'uid' && $propertyName !== 'pid' && $propertyName !== 'isClone') {
                                if ($propertyValue === NULL) {
                                        $fields[] = $dataMap->getColumnMap($propertyName)->getColumnName() . ' IS NULL';
@@ -589,7 +589,7 @@ class Typo3DbBackend implements BackendInterface, \TYPO3\CMS\Core\SingletonInter
         * @todo add deprecation notice after getUidOfAlreadyPersistedValueObject is adjusted
         */
        protected function replacePlaceholders(&$sqlString, array $parameters, $tableName = 'foo') {
-               // TODO profile this method again
+               // @todo profile this method again
                if (substr_count($sqlString, '?') !== count($parameters)) {
                        throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception('The number of question marks to replace must be equal to the number of parameters.', 1242816074);
                }
index 8157883..fe2fac8 100644 (file)
@@ -436,7 +436,7 @@ class Typo3DbQueryParser implements \TYPO3\CMS\Core\SingletonInterface {
                        $propertyName = $operand->getPropertyName();
                        $className = '';
                        if ($source instanceof Qom\SelectorInterface) {
-                               // FIXME Only necessary to differ from  Join
+                               // @todo Only necessary to differ from  Join
                                $className = $source->getNodeTypeName();
                                $tableName = $this->dataMapper->convertClassNameToTableName($className);
                                while (strpos($propertyName, '.') !== FALSE) {
@@ -742,7 +742,7 @@ class Typo3DbQueryParser implements \TYPO3\CMS\Core\SingletonInterface {
                } else {
                        throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception('Could not determine type of relation.', 1252502725);
                }
-               // TODO check if there is another solution for this
+               // @todo check if there is another solution for this
                $sql['keywords']['distinct'] = 'DISTINCT';
                $propertyPath = $explodedPropertyPath[1];
                $tableName = $childTableName;
index 219751f..ab9d41c 100644 (file)
@@ -46,7 +46,7 @@ interface PersistenceManagerInterface {
         */
        public function isNewObject($object);
 
-       // TODO realign with Flow PersistenceManager again
+       // @todo realign with Flow PersistenceManager again
 
        /**
         * Returns the (internal) identifier for the object, if it is known to the
index 0e48210..6ca0a98 100644 (file)
@@ -25,7 +25,7 @@ class BooleanValidator extends AbstractValidator {
                // The default is set to NULL here, because we need to be backward compatible here, because this
                // BooleanValidator is called automatically on boolean action arguments. If we would set it to TRUE,
                // every FALSE value for an action argument would break.
-               // TODO with next patches: deprecate this BooleanValidator and introduce a BooleanValueValidator, like
+               // @todo with next patches: deprecate this BooleanValidator and introduce a BooleanValueValidator, like
                // in Flow, which won't be called on boolean action arguments.
                'is' => array(NULL, 'Boolean value', 'boolean|string|integer')
        );
index 23f2fe3..d61bbcc 100644 (file)
@@ -54,7 +54,7 @@ class StringLengthValidator extends AbstractValidator {
                        return;
                }
 
-               // TODO Use \TYPO3\CMS\Core\Charset\CharsetConverter::strlen() instead; How do we get the charset?
+               // @todo Use \TYPO3\CMS\Core\Charset\CharsetConverter::strlen() instead; How do we get the charset?
                $stringLength = strlen($value);
                $isValid = TRUE;
                if ($stringLength < $this->options['minimum']) {
index 779f9c7..f39b4ca 100644 (file)
@@ -87,7 +87,7 @@ class ValidatorResolver implements \TYPO3\CMS\Core\SingletonInterface {
        public function createValidator($validatorType, array $validatorOptions = array()) {
                try {
                        /**
-                        * todo: remove throwing Exceptions in resolveValidatorObjectName
+                        * @todo remove throwing Exceptions in resolveValidatorObjectName
                         */
                        $validatorObjectName = $this->resolveValidatorObjectName($validatorType);
 
index 4c4d640..f311d19 100644 (file)
@@ -121,7 +121,7 @@ class ExtensionListUtility implements \SplObserver {
                $this->repositoryRepository = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository::class);
                $this->extensionRepository = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository::class);
                $this->extensionModel = $this->objectManager->get(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension::class);
-               // TODO catch parser exception
+               // @todo catch parser exception
                $this->parser = \TYPO3\CMS\Extensionmanager\Utility\Parser\XmlParserFactory::getParserInstance('extension');
                if (is_object($this->parser)) {
                        $this->parser->attach($this);
index ec1e2ad..0d6c938 100644 (file)
@@ -49,7 +49,7 @@ class MirrorListUtility implements \SplObserver {
         * @throws \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException
         */
        public function __construct() {
-               // TODO catch parser exception
+               // @todo catch parser exception
                $this->parser = \TYPO3\CMS\Extensionmanager\Utility\Parser\XmlParserFactory::getParserInstance('mirror');
                if (is_object($this->parser)) {
                        $this->parser->attach($this);
@@ -82,7 +82,7 @@ class MirrorListUtility implements \SplObserver {
         * @return void
         */
        public function update(\SplSubject $subject) {
-               // TODO mirrorxml_abstract_parser
+               // @todo mirrorxml_abstract_parser
                if (is_subclass_of($subject, \TYPO3\CMS\Extensionmanager\Utility\Parser\AbstractXmlParser::class)) {
                        $this->arrTmpMirrors[] = $subject->getAll();
                }
index e29782d..fa8e4bd 100644 (file)
@@ -265,7 +265,7 @@ class FileList extends \TYPO3\CMS\Backend\RecordList\AbstractRecordList {
                // prepare space icon
                $this->spaceIcon = '<span class="btn disabled">' . IconUtility::getSpriteIcon('empty-empty') . '</span>';
 
-               // TODO use folder methods directly when they support filters
+               // @todo use folder methods directly when they support filters
                $storage = $this->folderObject->getStorage();
                $storage->resetFileAndFolderNameFiltersToDefault();
 
index 40ea836..90708a8 100644 (file)
@@ -87,7 +87,7 @@ class TemplateCompiler implements \TYPO3\CMS\Core\SingletonInterface {
 %s {
 
 public function getVariableContainer() {
-       // TODO
+       // @todo
        return new \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer();
 }
 public function getLayoutName(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface \$renderingContext) {
index 2ec48eb..7a04335 100644 (file)
@@ -44,7 +44,7 @@ class ArrayNode extends \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode {
                        if ($value instanceof \TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode) {
                                $arrayToBuild[$key] = $value->evaluate($renderingContext);
                        } else {
-                               // TODO - this case should not happen!
+                               // @todo - this case should not happen!
                                $arrayToBuild[$key] = $value;
                        }
                }
index 85405db..b033225 100644 (file)
@@ -91,7 +91,7 @@ class LinkViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedVi
                        $action = $this->controllerContext->getRequest()->getControllerActionName();
                }
                $arguments['id'] = $GLOBALS['TSFE']->id;
-               // TODO page type should be configurable
+               // @todo page type should be configurable
                $arguments['type'] = 7076;
                $arguments['fluid-widget-id'] = $this->controllerContext->getRequest()->getWidgetContext()->getAjaxWidgetIdentifier();
                $arguments['action'] = $action;
index c7cc1af..d01be3e 100644 (file)
@@ -78,7 +78,7 @@ class UriViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
                        $action = $this->controllerContext->getRequest()->getControllerActionName();
                }
                $arguments['id'] = $GLOBALS['TSFE']->id;
-               // TODO page type should be configurable
+               // @todo page type should be configurable
                $arguments['type'] = 7076;
                $arguments['fluid-widget-id'] = $this->controllerContext->getRequest()->getWidgetContext()->getAjaxWidgetIdentifier();
                $arguments['action'] = $action;
index 63193a2..e7fc1cc 100644 (file)
@@ -236,7 +236,7 @@ class WizardView extends \TYPO3\CMS\Form\View\Wizard\AbstractWizardView {
         * @return void
         */
        protected function loadCss() {
-               // TODO Set to TRUE when finished
+               // @todo Set to TRUE when finished
                $compress = FALSE;
                $cssFiles = array(
                        'Wizard/Form.css',
index 1f21c95..c9057e5 100644 (file)
@@ -53,7 +53,7 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
         *
         * Add the left and right part to the viewport
         * Add the history buttons
-        * TODO Move the buttons to the docheader
+        * @todo Move the buttons to the docheader
         */
        initComponent: function() {
                var config = {
@@ -232,4 +232,4 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
        redo: function(event, element, object) {
                TYPO3.Form.Wizard.Helpers.History.redo();
        }
-});
\ No newline at end of file
+});
index ce5c219..bbdd6b5 100644 (file)
@@ -3961,7 +3961,7 @@ class ContentObjectRenderer {
                $crop2space = trim($options[2]) === '1' ? TRUE : FALSE;
                // Split $content into an array(even items in the array are outside the tags, odd numbers are tag-blocks).
                $tags = 'a|b|blockquote|body|div|em|font|form|h1|h2|h3|h4|h5|h6|i|li|map|ol|option|p|pre|sub|sup|select|span|strong|table|thead|tbody|tfoot|td|textarea|tr|u|ul|br|hr|img|input|area|link';
-               // TODO We should not crop inside <script> tags.
+               // @todo We should not crop inside <script> tags.
                $tagsRegEx = '
                        (
                                (?:
index 8e66a23..dd6c369 100644 (file)
@@ -923,7 +923,7 @@ class IndexedPagesController extends \TYPO3\CMS\Backend\Module\AbstractFunctionM
         * @return void
         */
        public function removeIndexedPhashRow($phashList, $clearPageCache = 1) {
-               // FIXME: This is only a workaround
+               // @todo This is only a workaround
                if ($phashList == 'ALL') {
                        $this->drawTableOfIndexedPages();
                        $phashRows = $this->allPhashListed;
index 05ec8ff..4bc7f46 100644 (file)
@@ -513,7 +513,7 @@ class Indexer {
                        while ($this->embracingTags($headPart, 'meta', $dummy, $headPart, $meta[$i])) {
                                $i++;
                        }
-                       // TODO The code below stops at first unset tag. Is that correct?
+                       // @todo The code below stops at first unset tag. Is that correct?
                        for ($i = 0; isset($meta[$i]); $i++) {
                                $meta[$i] = GeneralUtility::get_tag_attributes($meta[$i]);
                                if (stristr($meta[$i]['name'], 'keywords')) {
index f1cc415..1df383b 100644 (file)
@@ -184,7 +184,7 @@ class ValidatorTaskAdditionalFieldProvider implements \TYPO3\CMS\Scheduler\Addit
         */
        public function validateAdditionalFields(array &$submittedData, \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController $schedulerModule) {
                $isValid = TRUE;
-               //TODO add validation to validate the $submittedData['configuration'] which is normally a comma separated string
+               // @todo add validation to validate the $submittedData['configuration'] which is normally a comma separated string
                if (!empty($submittedData['linkvalidator']['email'])) {
                        $emailList = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $submittedData['linkvalidator']['email']);
                        foreach ($emailList as $emailAdd) {
index c9d9779..4d95b4d 100644 (file)
@@ -151,7 +151,7 @@ class Auth_OpenID {
         } else if (!array_key_exists('REQUEST_METHOD', $_SERVER)) {
             // Do nothing.
         } else {
-          // XXX HACK FIXME HORRIBLE.
+          // @todo XXX HACK FIXME HORRIBLE.
           //
           // POSTing to a URL with query parameters is acceptable, but
           // we don't have a clean way to distinguish those parameters
index 7b0c640..0c37acd 100644 (file)
@@ -567,7 +567,7 @@ function Auth_OpenID_discoverXRI($iname, $fetcher)
         $openid_services[$i]->display_identifier = $iname;
     }
 
-    // FIXME: returned xri should probably be in some normal form
+    // @todo returned xri should probably be in some normal form
     return array($iname, $openid_services);
 }
 
index 02f8d14..8c8f0ff 100644 (file)
@@ -197,7 +197,7 @@ class Status implements ReportInterface {
                unset($statusCollection['typo3'], $statusCollection['system'], $statusCollection['security'], $statusCollection['configuration']);
                // Assemble list of secondary status collections with left-over collections
                // Change their keys using localized labels if available
-               // TODO extract into getLabel() method
+               // @todo extract into getLabel() method
                $secondaryStatuses = array();
                foreach ($statusCollection as $statusProviderId => $collection) {
                        $label = '';
index 4735f60..c20f8c0 100644 (file)
@@ -541,7 +541,7 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas
                                        if (!empty($taskInfo['interval']) || !empty($taskInfo['croncmd'])) {
                                                // Guess task type from the existing information
                                                // If an interval or a cron command is defined, it's a recurring task
-                                               // FIXME: remove magic numbers for the type, use class constants instead
+                                               // @todo remove magic numbers for the type, use class constants instead
                                                $taskInfo['type'] = 2;
                                                $taskInfo['frequency'] = $taskInfo['interval'] ?: $taskInfo['croncmd'];
                                        } else {
index 70bad5f..dd68029 100644 (file)
@@ -302,7 +302,7 @@ class T3editor implements \TYPO3\CMS\Core\SingletonInterface {
 
        /**
         * Gets the labels to be used in JavaScript in the Ext JS interface.
-        * TODO this method is copied from EXT:Recycler, maybe this should be refactored into a helper class
+        * @todo this method is copied from EXT:Recycler, maybe this should be refactored into a helper class
         *
         * @return array The labels to be used in JavaScript
         */
@@ -314,7 +314,7 @@ class T3editor implements \TYPO3\CMS\Core\SingletonInterface {
 
        /**
         * Gets labels to be used in JavaScript fetched from the current locallang file.
-        * TODO this method is copied from EXT:Recycler, maybe this should be refactored into a helper class
+        * @todo this method is copied from EXT:Recycler, maybe this should be refactored into a helper class
         *
         * @param string $selectionPrefix Prefix to select the correct labels (default: 'js.')
         * @param string $stripFromSelectionName Sub-prefix to be removed from label names in the result (default: '')
index 3b44d0e..c579630 100644 (file)
@@ -51,7 +51,7 @@ var TsCodeCompletion = function(codeMirror, outerdiv) {
        var parser = new TsParser(tsRef, extTsObjTree);
        loadExtTemplatesAsync();
 
-       // TODO port plugin to t3editor.js
+       // @todo port plugin to t3editor.js
 
        // plugin-array will be retrieved through AJAX from the conf array
        // plugins can be attached by regular TYPO3-extensions
@@ -206,7 +206,7 @@ var TsCodeCompletion = function(codeMirror, outerdiv) {
         * replaces editor functions insertNewlineAtCursor and indentAtCursor
         * with modified ones that only execute when codecompletion box is not shown
         */
-//     TODO check if this wokrs correctly after updating the codemirror base
+//     @todo check if this wokrs correctly after updating the codemirror base
        function prepareLinefeeds() {
                mirror.win.select.insertNewlineAtCursor_original = mirror.win.select.insertNewlineAtCursor;
                mirror.win.select.insertNewlineAtCursor = function(window) {
@@ -619,4 +619,4 @@ document.observe('t3editor:keydown', function(event) {
 document.observe('t3editor:click', function(event) {
        that = event.memo.t3editor;
        if (that.tsCodeCompletion) that.tsCodeCompletion.click(event.memo.actualEvent);
-});
\ No newline at end of file
+});
index 0823bc5..a53d340 100644 (file)
@@ -231,7 +231,7 @@ class PreviewHook implements \TYPO3\CMS\Core\SingletonInterface {
         * Set preview keyword, eg:
         * $previewUrl = GeneralUtility::getIndpEnv('TYPO3_SITE_URL').'index.php?ADMCMD_prev='.$this->compilePreviewKeyword('id='.$pageId.'&L='.$language.'&ADMCMD_view=1&ADMCMD_editIcons=1&ADMCMD_previewWS='.$this->workspace, $GLOBALS['BE_USER']->user['uid'], 120);
         *
-        * todo for sys_preview:
+        * @todo for sys_preview:
         * - Add a comment which can be shown to previewer in frontend in some way (plus maybe ability to write back, take other action?)
         * - Add possibility for the preview keyword to work in the backend as well: So it becomes a quick way to a certain action of sorts?
         *
index 4b6c12f..10bbe25 100644 (file)
@@ -105,7 +105,7 @@ class WorkspacesUtility {
         */
        public function autoPublishWorkspaces() {
                // Temporarily set admin rights
-               // FIXME: once workspaces are cleaned up a better solution should be implemented
+               // @todo once workspaces are cleaned up a better solution should be implemented
                $currentAdminStatus = $GLOBALS['BE_USER']->user['admin'];
                $GLOBALS['BE_USER']->user['admin'] = 1;
                // Select all workspaces that needs to be published / unpublished:
index 2e73d1b..c124700 100644 (file)
@@ -69,7 +69,7 @@ class PreviewController extends AbstractController {
                        $this->pageRenderer->addJsFile($resourcePathJavaScript . $jsFile);
                }
                $this->pageRenderer->addInlineSetting('RecordHistory', 'moduleUrl', BackendUtility::getModuleUrl('record_history'));
-               // todo this part should be done with inlineLocallanglabels
+               // @todo this part should be done with inlineLocallanglabels
                $this->pageRenderer->addJsInlineCode('workspace-inline-code', $this->generateJavascript());
        }
 
index 9f72e97..5141393 100644 (file)
@@ -31,7 +31,7 @@ class AutoPublishService {
         */
        public function autoPublishWorkspaces() {
                // Temporarily set admin rights
-               // FIXME: once workspaces are cleaned up a better solution should be implemented
+               // @todo once workspaces are cleaned up a better solution should be implemented
                $currentAdminStatus = $GLOBALS['BE_USER']->user['admin'];
                $GLOBALS['BE_USER']->user['admin'] = 1;
                // Select all workspaces that needs to be published / unpublished:
index d5a8050..0ead8a0 100644 (file)
@@ -45,7 +45,7 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('Workspaces::setWorkspace', \TYPO3\CMS\Workspaces\Controller\AjaxController::class . '->setWorkspace');
 }
 
-// todo move icons to Core sprite or keep them here and remove the todo note ;)
+// @todo move icons to Core sprite or keep them here and remove the todo note ;)
 $icons = array(
        'sendtonextstage' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtonextstage.png',
        'sendtoprevstage' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Images/version-workspace-sendtoprevstage.png',