Skip to content

Commit d3c282b

Browse files
authored
Merge pull request #870 from doctrine/upgrade-phpunit-config
upgrade phpunit configuration
2 parents 875efd1 + 0208758 commit d3c282b

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

tests/phpunit_doctrine_dbal.xml.dist

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
<phpunit colors="true" bootstrap="bootstrap.php" backupGlobals="false" cacheTokens="true">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
colors="true"
4+
bootstrap="bootstrap.php"
5+
backupGlobals="false"
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
8+
>
29
<php>
310
<!-- Disable E_USER_DEPRECATED until 3.0 -->
411
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
@@ -26,9 +33,9 @@
2633
</testsuite>
2734
</testsuites>
2835

29-
<filter>
30-
<whitelist>
31-
<directory>../lib/Doctrine/ODM/PHPCR</directory>
32-
</whitelist>
33-
</filter>
36+
<coverage includeUncoveredFiles="true">
37+
<include>
38+
<directory>../lib/Doctrine/ODM/PHPCR/</directory>
39+
</include>
40+
</coverage>
3441
</phpunit>

tests/phpunit_jackrabbit.xml.dist

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
<phpunit colors="true" bootstrap="bootstrap.php" backupGlobals="false" cacheTokens="true">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
colors="true"
4+
bootstrap="bootstrap.php"
5+
backupGlobals="false"
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
8+
>
29
<php>
310
<!-- Disable E_USER_DEPRECATED until 3.0 -->
411
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
@@ -22,9 +29,9 @@
2229
</testsuite>
2330
</testsuites>
2431

25-
<filter>
26-
<whitelist>
27-
<directory>../lib/Doctrine/ODM/PHPCR</directory>
28-
</whitelist>
29-
</filter>
32+
<coverage includeUncoveredFiles="true">
33+
<include>
34+
<directory>../lib/Doctrine/ODM/PHPCR/</directory>
35+
</include>
36+
</coverage>
3037
</phpunit>

0 commit comments

Comments
 (0)