From 06515801f7ed13e46771ed7b97288c5288a60057 Mon Sep 17 00:00:00 2001
From: Christian Kuhn <lolli@schwarzbu.ch>
Date: Wed, 1 Nov 2023 08:55:45 +0100
Subject: [PATCH] [TASK] styleguide: Update styleguide UnitTestsBootstrap.php

https://github.com/TYPO3-CMS/styleguide/pull/469

The third argument on SystemEnvironmentBuilder::run()
is obsolete.
---
 typo3/sysext/styleguide/Build/UnitTestsBootstrap.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/typo3/sysext/styleguide/Build/UnitTestsBootstrap.php b/typo3/sysext/styleguide/Build/UnitTestsBootstrap.php
index a4ca910802fa..de4a525eccea 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');
-- 
GitLab