[TASK] Add more rules for Code sniffer 33/56533/13
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 16 Apr 2018 13:55:20 +0000 (15:55 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 16 Apr 2018 14:59:27 +0000 (16:59 +0200)
commit7cfb9210c796440e4cc5048b4473b2985167983f
tree599329924f7ef87f38fc4eded9c2eb7c96c35c43
parent1b64feb6ef704efa472d8796310fe44e78f1d1eb
[TASK] Add more rules for Code sniffer

In order to improve code quality, the following code sniffers are added:

- cast_spaces
- declare_equal_normalize
- dir_constant

Resolves: #84590
Releases: master, 8.7
Change-Id: Ib8a353b9ec47bff146b5decc3d5f97d242672efa
Reviewed-on: https://review.typo3.org/56533
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Sybille Peters <sypets@gmx.de>
Tested-by: Sybille Peters <sypets@gmx.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
48 files changed:
Build/.php_cs
Build/Scripts/annotationChecker.php
Build/Scripts/validateRstFiles.php
typo3/sysext/backend/Classes/Form/FieldInformation/SiteConfiguration.php
typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php
typo3/sysext/backend/Tests/UnitDeprecated/Form/FormDataProvider/DatabaseRowInitializeNewTest.php
typo3/sysext/core/Classes/Database/Platform/PlatformInformation.php
typo3/sysext/core/Tests/Unit/Cache/Backend/Typo3DatabaseBackendTest.php
typo3/sysext/core/Tests/Unit/Command/SendEmailCommandTest.php
typo3/sysext/core/Tests/Unit/Database/Platform/PlatformInformationTest.php
typo3/sysext/core/Tests/Unit/Error/AbstractExceptionHandlerTest.php
typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php
typo3/sysext/core/Tests/Unit/Http/MessageTest.php
typo3/sysext/core/Tests/Unit/Http/RequestTest.php
typo3/sysext/core/Tests/Unit/Http/ResponseTest.php
typo3/sysext/core/Tests/Unit/Http/StreamTest.php
typo3/sysext/core/Tests/Unit/Http/UploadedFileTest.php
typo3/sysext/core/Tests/Unit/Http/UriTest.php
typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php
typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php
typo3/sysext/core/Tests/Unit/Utility/MathUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyController.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyControllerWithValidateAnnotationWithoutParam.php
typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/Validation/Validator/DummyValidator.php
typo3/sysext/extbase/Tests/UnitDeprecated/Validation/ValidatorResolverTest.php
typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php
typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php
typo3/sysext/fluid/Classes/Core/Widget/WidgetRequestBuilder.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CObjectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextfieldViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/PageViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php
typo3/sysext/form/Classes/Mvc/Configuration/YamlSource.php
typo3/sysext/install/Classes/Updates/AdminPanelInstall.php
typo3/sysext/install/Classes/Updates/FileReferenceUpdate.php
typo3/sysext/install/Tests/Unit/FolderStructure/LinkNodeTest.php
typo3/sysext/install/Tests/Unit/Service/CoreVersionServiceTest.php
typo3/sysext/install/Tests/Unit/Service/SilentConfigurationUpgradeServiceTest.php
typo3/sysext/install/Tests/Unit/Updates/RowUpdater/L10nModeUpdaterTest.php
typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php
typo3/sysext/redirects/Classes/UserFunctions/HitCountDisplayCondition.php