[TASK] Cleanup EXT:frontend 56/38456/21
authorMichael Oehlhof <typo3@oehlhof.de>
Fri, 3 Apr 2015 11:01:31 +0000 (13:01 +0200)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Thu, 27 Aug 2015 11:36:33 +0000 (13:36 +0200)
commitd15366c87ce0313b2e1120d64f4fa3335fc30912
tree70109f2ff6dca0ea8514b568db652a0643e0b751
parent2ed960f3bc4a042c21e193313ccda2a63f7222cb
[TASK] Cleanup EXT:frontend

To get it "green" in PhpStorm, several changes are made:

- add getter for DatabaseConnection
- add getter for TypoScriptFrontendController
- add getter for TimeTracker
- add getter for BackendUser
- add use statements
- add missing return statements
- add missing variable declaration
- set correct PhpDoc comments
- initialize used variables
- remove unused variables

Resolves: #66204
Releases: master
Change-Id: Ifd77e96d46fd3df2c2f0a646deb24ef44814037e
Reviewed-on: http://review.typo3.org/38456
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
23 files changed:
typo3/sysext/core/Classes/Category/Collection/CategoryCollection.php
typo3/sysext/frontend/Classes/Category/Collection/CategoryCollection.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayContentObject.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayInternalContentObject.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php
typo3/sysext/frontend/Classes/ContentObject/Menu/MenuContentObjectFactory.php
typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php
typo3/sysext/frontend/Classes/ContentObject/UserInternalContentObject.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Hooks/FrontendHooks.php
typo3/sysext/frontend/Classes/Hooks/TableColumnHooks.php
typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php
typo3/sysext/frontend/Classes/Imaging/GifBuilder.php
typo3/sysext/frontend/Classes/Page/FramesetRenderer.php
typo3/sysext/frontend/Classes/Page/PageRepository.php
typo3/sysext/frontend/Classes/View/AdminPanelView.php
typo3/sysext/frontend/Tests/Functional/Page/PageRepositoryTest.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FilesContentObjectTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php
typo3/sysext/frontend/Tests/Unit/Page/PageRepositoryTest.php