Skip to content

Commit

Permalink
upgrade phpunit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Apr 3, 2024
1 parent 875efd1 commit 14bdee1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 12 deletions.
20 changes: 14 additions & 6 deletions tests/phpunit_doctrine_dbal.xml.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<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"
cacheTokens="true"
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 +34,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>
20 changes: 14 additions & 6 deletions tests/phpunit_jackrabbit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<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"
cacheTokens="true"
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 +30,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 14bdee1

Please sign in to comment.