Skip to content

Commit 26a5916

Browse files
committed
Upgrade phpunit config
1 parent 200d9fb commit 26a5916

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

google-analytics-data/phpunit.xml.dist

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<phpunit bootstrap="./testing/bootstrap.php" colors="true">
18-
<testsuites>
19-
<testsuite name="Google Analytics Data API Tests">
20-
<directory>test</directory>
21-
</testsuite>
22-
</testsuites>
23-
<logging>
24-
<log type="coverage-clover" target="build/logs/clover.xml"/>
25-
</logging>
26-
<filter>
27-
<whitelist>
28-
<directory suffix=".php">./src</directory>
29-
<exclude>
30-
<directory>./vendor</directory>
31-
</exclude>
32-
</whitelist>
33-
</filter>
34-
<php>
35-
<env name="PHPUNIT_TESTS" value="1"/>
36-
</php>
17+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./testing/bootstrap.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
18+
<coverage>
19+
<include>
20+
<directory suffix=".php">./src</directory>
21+
</include>
22+
<exclude>
23+
<directory>./vendor</directory>
24+
</exclude>
25+
<report>
26+
<clover outputFile="build/logs/clover.xml"/>
27+
</report>
28+
</coverage>
29+
<testsuites>
30+
<testsuite name="Google Analytics Data API Tests">
31+
<directory>test</directory>
32+
</testsuite>
33+
</testsuites>
34+
<php>
35+
<env name="PHPUNIT_TESTS" value="1"/>
36+
</php>
3737
</phpunit>

0 commit comments

Comments
 (0)