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 <email@example.com>
Reviewed-by: Susanne Moog <firstname.lastname@example.org>
Tested-by: Susanne Moog <email@example.com>
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
Reviewed-by: Benni Mack <firstname.lastname@example.org>
Tested-by: Benni Mack <email@example.com>