Skip to content
Snippets Groups Projects
Commit 06515801 authored by Christian Kuhn's avatar Christian Kuhn Committed by GitHub
Browse files

[TASK] styleguide: Update styleguide UnitTestsBootstrap.php

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

The third argument on SystemEnvironmentBuilder::run()
is obsolete.
parent bc59a02d
Branches
Tags
No related merge requests found
......@@ -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');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment