[TASK] add leading backslashes to SplObject*
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 22 Sep 2012 19:19:10 +0000 (21:19 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Sat, 22 Sep 2012 21:19:39 +0000 (23:19 +0200)
for some cases the leading backslash is missing for PHP standard
classes. This patch adds those backslashes to SplObject*.

Change-Id: I3267f4341339d16e23c0bf56dd97b07bceb5866b
Resolves: #41266
Releases: 6.0
Reviewed-on: http://review.typo3.org/14944
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/Domain/Model/Module/BackendModule.php
typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php
typo3/sysext/backend/Classes/Module/ModuleStorage.php
typo3/sysext/extensionmanager/Classes/Domain/Model/Extension.php
typo3/sysext/extensionmanager/Classes/Domain/Repository/ConfigurationItemRepository.php
typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php

index b3056be..7d4df68 100644 (file)
@@ -71,7 +71,7 @@ class BackendModule {
        protected $navigationComponentId = '';
 
        /**
-        * @var SplObjectStorage $children
+        * @var \SplObjectStorage $children
         */
        protected $children;
 
index 3387fa0..68de078 100644 (file)
@@ -63,7 +63,7 @@ class BackendModuleRepository implements \TYPO3\CMS\Core\SingletonInterface {
         * Finds a module menu entry by name in a given storage
         *
         * @param string $name
-        * @param SplObjectStorage $entries
+        * @param \SplObjectStorage $entries
         * @return \TYPO3\CMS\Backend\Domain\Model\Module\BackendModule|bool
         */
        public function findByModuleNameInGivenEntries($name, \SplObjectStorage $entries) {
index a649112..bb6c6a3 100644 (file)
@@ -36,7 +36,7 @@ namespace TYPO3\CMS\Backend\Module;
 class ModuleStorage implements \TYPO3\CMS\Core\SingletonInterface {
 
        /**
-        * @var SplObjectStorage
+        * @var \SplObjectStorage
         */
        protected $entries;
 
index 9ac5f17..3d49e31 100644 (file)
@@ -109,7 +109,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
        protected $category = 0;
 
        /**
-        * @var DateTime
+        * @var \DateTime
         */
        protected $lastUpdated;
 
@@ -149,7 +149,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
        protected $serializedDependencies = '';
 
        /**
-        * @var SplObjectStorage<Tx_Extensionmanager_Utility_Dependency>
+        * @var \SplObjectStorage<Tx_Extensionmanager_Utility_Dependency>
         */
        protected $dependencies = NULL;
 
@@ -289,7 +289,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
        }
 
        /**
-        * @param DateTime $lastUpdated
+        * @param \DateTime $lastUpdated
         * @return void
         */
        public function setLastUpdated(\DateTime $lastUpdated) {
@@ -297,7 +297,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
        }
 
        /**
-        * @return DateTime
+        * @return \DateTime
         */
        public function getLastUpdated() {
                return $this->lastUpdated;
@@ -494,7 +494,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
        }
 
        /**
-        * @param SplObjectStorage $dependencies
+        * @param \SplObjectStorage $dependencies
         * @return void
         */
        public function setDependencies($dependencies) {
@@ -502,7 +502,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
        }
 
        /**
-        * @return SplObjectStorage
+        * @return \SplObjectStorage
         */
        public function getDependencies() {
                if (!is_object($this->dependencies)) {
index 402b708..bbddde5 100644 (file)
@@ -51,7 +51,7 @@ class ConfigurationItemRepository {
         * Find configuration options by extension
         *
         * @param array $extension array with extension information
-        * @return null|SplObjectStorage
+        * @return null|\SplObjectStorage
         */
        public function findByExtension(array $extension) {
                $configRaw = \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl(PATH_site . $extension['siteRelPath'] . '/ext_conf_template.txt');
@@ -67,7 +67,7 @@ class ConfigurationItemRepository {
         *
         * @param string $configRaw
         * @param array $extension array with extension information
-        * @return SplObjectStorage
+        * @return \SplObjectStorage
         */
        protected function convertRawConfigurationToObject($configRaw, array $extension) {
                $defaultConfiguration = $this->createArrayFromConstants($configRaw, $extension);
@@ -215,7 +215,7 @@ class ConfigurationItemRepository {
         * hierarchic object storage structure
         *
         * @param array $configuration
-        * @return SplObjectStorage
+        * @return \SplObjectStorage
         */
        protected function convertHierarchicArrayToObject(array $configuration) {
                $configurationObjectStorage = new \SplObjectStorage();
index a0bcd1d..1b827b2 100644 (file)
@@ -131,7 +131,7 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface {
 
        /**
         * @param string $dependencies
-        * @return SplObjectStorage
+        * @return \SplObjectStorage
         */
        public function convertDependenciesToObjects($dependencies) {
                $unserializedDependencies = unserialize($dependencies);
@@ -157,7 +157,7 @@ class DependencyUtility implements \TYPO3\CMS\Core\SingletonInterface {
        /**
         * Checks dependencies for special cases (currently typo3 and php)
         *
-        * @param SplObjectStorage $dependencies
+        * @param \SplObjectStorage $dependencies
         * @return boolean
         */
        protected function checkDependencies(\SplObjectStorage $dependencies) {