Skip to content

Commit 03c02d1

Browse files
committed
Migrate PHPUnit config
1 parent 013ad35 commit 03c02d1

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
},
6565
"scripts": {
6666
"test": "vendor/bin/phpunit",
67-
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml coverage",
67+
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml",
6868
"test-coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html build/coverage",
6969
"test-cs": "vendor/bin/phpcs",
7070
"test-phpstan": "vendor/bin/phpstan analyse"

phpunit.xml.dist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="test/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage>
4-
<include>
5-
<directory suffix=".php">lib</directory>
6-
</include>
7-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" bootstrap="test/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
83
<testsuites>
94
<testsuite name="php-tmdb-symfony Test Suite">
105
<directory suffix="Test.php">./test/</directory>
116
</testsuite>
127
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">lib</directory>
11+
</include>
12+
</source>
1313
</phpunit>

0 commit comments

Comments
 (0)