Skip to content

Commit 45a712e

Browse files
committed
Update PHPUnit configuration schema to fix deprecation warning
1 parent 90f8520 commit 45a712e

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

phpunit.xml.dist

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
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>lib</directory>
6-
</include>
7-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticProperties="false" colors="true" failOnRisky="true" failOnWarning="false" processIsolation="false" stopOnFailure="false" bootstrap="test/bootstrap.php" displayDetailsOnTestsThatTriggerDeprecations="true" displayDetailsOnTestsThatTriggerErrors="true" displayDetailsOnTestsThatTriggerWarnings="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.1/phpunit.xsd">
83
<testsuites>
94
<testsuite name="php-tmdb-symfony Test Suite">
105
<directory suffix="Test.php">./test/</directory>
116
</testsuite>
127
</testsuites>
8+
<php>
9+
<ini name="error_reporting" value="-1"/>
10+
<ini name="display_errors" value="On"/>
11+
<ini name="display_startup_errors" value="On"/>
12+
<ini name="date.timezone" value="UTC"/>
13+
</php>
14+
<source>
15+
<include>
16+
<directory>lib</directory>
17+
</include>
18+
</source>
1319
</phpunit>

0 commit comments

Comments
 (0)