Skip to content
Snippets Groups Projects
Commit e565bf50 authored by Oliver Klee's avatar Oliver Klee Committed by Stefan Bürk
Browse files

[TASK] Streamline the PHPUnit configuration files

- autoformat the files
- sort the configuration options

This keeps the files consistent and avoids unrelated formatting changes
when other things are changed.

Resolves: #102699
Releases: main, 12.4

Change-Id: Iffb8401328949d0d38f91512671f77285c470e6a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82243


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 8b5fffdd
Branches
Tags
No related merge requests found
......@@ -15,10 +15,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="true"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="FunctionalTestsBootstrap.php"
cacheDirectory=".phpunit.cache"
cacheResult="false"
colors="true"
beStrictAboutTestsThatDoNotTestAnything="false"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
......@@ -27,16 +28,15 @@
failOnNotice="true"
failOnRisky="true"
failOnWarning="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/Functional/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/Functional/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
</phpunit>
......@@ -15,10 +15,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="true"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="FunctionalTestsBootstrap.php"
cacheDirectory=".phpunit.cache"
cacheResult="false"
colors="true"
beStrictAboutTestsThatDoNotTestAnything="false"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
......@@ -26,16 +27,15 @@
failOnNotice="true"
failOnRisky="true"
failOnWarning="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/FunctionalDeprecated/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/FunctionalDeprecated/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
</phpunit>
......@@ -15,10 +15,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="true"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="UnitTestsBootstrap.php"
cacheDirectory=".phpunit.cache"
cacheResult="false"
colors="true"
beStrictAboutTestsThatDoNotTestAnything="false"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
......@@ -27,16 +28,15 @@
failOnNotice="true"
failOnRisky="true"
failOnWarning="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/Unit/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/Unit/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
</phpunit>
......@@ -19,27 +19,27 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="true"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="UnitTestsBootstrap.php"
cacheDirectory=".phpunit.cache"
cacheResult="false"
colors="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
beStrictAboutTestsThatDoNotTestAnything="false"
failOnNotice="true"
failOnRisky="true"
failOnWarning="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/UnitDeprecated/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
<testsuites>
<testsuite name="Core tests">
<directory>../../typo3/sysext/*/Tests/UnitDeprecated/</directory>
</testsuite>
</testsuites>
<php>
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="E_ALL"/>
<env name="TYPO3_CONTEXT" value="Testing"/>
</php>
</phpunit>
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