From 0c71d7ef657769ec180ffef6e41476a74df7c289 Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Wed, 1 Nov 2023 08:53:20 +0100 Subject: [PATCH] [TASK] Update styleguide UnitTestsBootstrap.php The third argument on SystemEnvironmentBuilder::run() is obsolete. --- Build/UnitTestsBootstrap.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Build/UnitTestsBootstrap.php b/Build/UnitTestsBootstrap.php index a4ca9108..de4a525e 100644 --- a/Build/UnitTestsBootstrap.php +++ b/Build/UnitTestsBootstrap.php @@ -31,9 +31,8 @@ $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');