[TASK] Cleanup of TYPO3\CMS\Core\Localization and Charset 08/39508/4
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 12 May 2015 20:38:28 +0000 (22:38 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 15 May 2015 18:50:43 +0000 (20:50 +0200)
commit5d5bb1c474689e3b0a644c59e81aa08678656736
treea14c0c88659a31fb0bb33d6d6912ec58304d20de
parentbb5e63bb17d1c1f6182422248c7c0c255ddc1291
[TASK] Cleanup of TYPO3\CMS\Core\Localization and Charset

* Make use of use-statements
* fix typos
* properly align comments
* fix PHPDoc
* fix bool signatures
* remove unused variables
* rename some cryptic variables
* check for equality using === and !== where possible
* use !empty() instead of count()

Resolves: #66924
Releases: master
Change-Id: I44675b3e8c8626591feaa017e53cae1426cd1da3
Reviewed-on: http://review.typo3.org/39508
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Charset/CharsetConverter.php
typo3/sysext/core/Classes/Localization/LanguageStore.php
typo3/sysext/core/Classes/Localization/Locales.php
typo3/sysext/core/Classes/Localization/LocalizationFactory.php
typo3/sysext/core/Classes/Localization/Parser/AbstractXmlParser.php
typo3/sysext/core/Classes/Localization/Parser/LocallangArrayParser.php
typo3/sysext/core/Classes/Localization/Parser/LocallangXmlParser.php
typo3/sysext/core/Classes/Localization/Parser/XliffParser.php