[TASK] Replace TYPO3_OS constant with Environment check 92/56792/6
authorBenni Mack <benni@typo3.org>
Wed, 25 Apr 2018 04:22:15 +0000 (06:22 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 26 Apr 2018 16:37:14 +0000 (18:37 +0200)
commit966e13b211e3f8e438372ec5f9a3811b6dde237a
tree0bf24dc7213db15e110f89daeb348edbb94ebad2
parente30516e92f3f29a06b0a9b2ccaefce7fc1f9b57e
[TASK] Replace TYPO3_OS constant with Environment check

In order to move away from using hard-coded constants,
the Environment class method "isWindows" is used.

Resolves: #84854
Releases: master
Change-Id: I30bc72017d00caafe9dfef912c52044a6cd03338
Reviewed-on: https://review.typo3.org/56792
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
23 files changed:
typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php
typo3/sysext/core/Classes/Utility/CommandUtility.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Classes/Utility/PathUtility.php
typo3/sysext/core/Tests/Unit/Locking/SimpleLockStrategyTest.php
typo3/sysext/core/Tests/Unit/Resource/Driver/LocalDriverTest.php
typo3/sysext/core/Tests/Unit/Utility/Fixtures/WindowsPathUtilityFixture.php [deleted file]
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/PathUtilityTest.php
typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php
typo3/sysext/indexed_search/Classes/FileContentParser.php
typo3/sysext/install/Classes/Configuration/Image/GraphicsMagickPreset.php
typo3/sysext/install/Classes/Configuration/Image/ImageMagick6Preset.php
typo3/sysext/install/Classes/Controller/EnvironmentController.php
typo3/sysext/install/Classes/FolderStructure/AbstractNode.php
typo3/sysext/install/Classes/FolderStructure/DefaultPermissionsCheck.php
typo3/sysext/install/Classes/Service/CoreUpdateService.php
typo3/sysext/install/Classes/SystemEnvironment/SetupCheck.php
typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php
typo3/sysext/rsaauth/Classes/Backend/CommandLineBackend.php
typo3/sysext/rsaauth/Tests/Unit/Backend/CommandLineBackendTest.php
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php