Skip to content

Commit

Permalink
[TASK] Migrate PHPUnit configuration to version 10
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrodala committed Mar 26, 2024
1 parent 00d5e31 commit fb46d7c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 22 deletions.
20 changes: 9 additions & 11 deletions phpunit-functional.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false"
bootstrap="vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
processIsolation="true"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
verbose="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
requireCoverageMetadata="false"
>
<coverage>
<include>
<directory suffix=".php">Classes/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Functional tests">
<directory>Tests/Functional/</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">Classes/</directory>
</include>
</source>
</phpunit>
20 changes: 9 additions & 11 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false"
bootstrap="vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
verbose="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
requireCoverageMetadata="false"
>
<coverage>
<include>
<directory suffix=".php">Classes/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Unit tests">
<directory>Tests/Unit/</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">Classes/</directory>
</include>
</source>
</phpunit>

0 comments on commit fb46d7c

Please sign in to comment.