GeneralUtility::rmdir needs a fully initialized Environment instance
The typo3/testing-framework calls GeneralUtility::rmdir to remove existing test instances. Unfortunately this fails an Windows systems as those are not properly detected by an uninitialized Environment and Environment::isWindows() returns false.
[BUGFIX] Decouple GeneralUtility::rmdir from Environment::isWindows()
To be able to call rmdir without an initialized Environment instance,
the check if a Windows system is used, is decoupled. This allows to
call GeneralUtility::rmdir e.g. in typo3/testing-framework.
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Susanne Moog <email@example.com>
Tested-by: Susanne Moog <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
Reviewed-by: Benni Mack <email@example.com>
Tested-by: Benni Mack <firstname.lastname@example.org>