Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit c05e121

Browse files
committed
PhpUnit: Exclude autoload_classmap.php from coverage
1 parent 65b449e commit c05e121

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

test/phpunit-coverage.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<filter>
1818
<whitelist>
1919
<directory suffix=".php">./../src/</directory>
20+
<exclude>
21+
<file>../src/autoload_classmap.php</file>
22+
</exclude>
2023
</whitelist>
2124
</filter>
2225
</phpunit>

test/phpunit-travis.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<filter>
88
<whitelist processUncoveredFilesFromWhitelist="false">
99
<directory suffix=".php">../src</directory>
10+
<exclude>
11+
<file>../src/autoload_classmap.php</file>
12+
</exclude>
1013
</whitelist>
1114
</filter>
1215
<testsuites>

test/phpunit.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<filter>
1010
<whitelist processUncoveredFilesFromWhitelist="false">
1111
<directory suffix=".php">../src</directory>
12+
<exclude>
13+
<file>../src/autoload_classmap.php</file>
14+
</exclude>
1215
</whitelist>
1316
</filter>
1417
</phpunit>

0 commit comments

Comments
 (0)