Skip to content

Commit

Permalink
Merge pull request #870 from doctrine/upgrade-phpunit-config
Browse files Browse the repository at this point in the history
upgrade phpunit configuration
  • Loading branch information
dbu committed Apr 3, 2024
2 parents 875efd1 + 0208758 commit d3c282b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
19 changes: 13 additions & 6 deletions tests/phpunit_doctrine_dbal.xml.dist
@@ -1,4 +1,11 @@
<phpunit colors="true" bootstrap="bootstrap.php" backupGlobals="false" cacheTokens="true">
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
bootstrap="bootstrap.php"
backupGlobals="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<php>
<!-- Disable E_USER_DEPRECATED until 3.0 -->
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
Expand Down Expand Up @@ -26,9 +33,9 @@
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>../lib/Doctrine/ODM/PHPCR</directory>
</whitelist>
</filter>
<coverage includeUncoveredFiles="true">
<include>
<directory>../lib/Doctrine/ODM/PHPCR/</directory>
</include>
</coverage>
</phpunit>
19 changes: 13 additions & 6 deletions tests/phpunit_jackrabbit.xml.dist
@@ -1,4 +1,11 @@
<phpunit colors="true" bootstrap="bootstrap.php" backupGlobals="false" cacheTokens="true">
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
bootstrap="bootstrap.php"
backupGlobals="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<php>
<!-- Disable E_USER_DEPRECATED until 3.0 -->
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
Expand All @@ -22,9 +29,9 @@
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>../lib/Doctrine/ODM/PHPCR</directory>
</whitelist>
</filter>
<coverage includeUncoveredFiles="true">
<include>
<directory>../lib/Doctrine/ODM/PHPCR/</directory>
</include>
</coverage>
</phpunit>

0 comments on commit d3c282b

Please sign in to comment.