diff --git a/typo3/sysext/styleguide/Build/UnitTestsBootstrap.php b/typo3/sysext/styleguide/Build/UnitTestsBootstrap.php
index a4ca910802fad5c4e6494586f6240faff3b8d209..de4a525eccea6ed013f426612247952340133601 100644
--- a/typo3/sysext/styleguide/Build/UnitTestsBootstrap.php
+++ b/typo3/sysext/styleguide/Build/UnitTestsBootstrap.php
@@ -31,9 +31,8 @@ call_user_func(function () {
 
     $testbase->defineSitePath();
 
-    $composerMode = defined('TYPO3_COMPOSER_MODE') && TYPO3_COMPOSER_MODE === true;
     $requestType = \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_BE | \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_CLI;
-    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, $requestType, $composerMode);
+    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, $requestType);
 
     $testbase->createDirectory(\TYPO3\CMS\Core\Core\Environment::getPublicPath() . '/typo3conf/ext');
     $testbase->createDirectory(\TYPO3\CMS\Core\Core\Environment::getPublicPath() . '/typo3temp/assets');