Skip to content

Commit 1cf73de

Browse files
committed
update phpunit config file
1 parent fe659c2 commit 1cf73de

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

create_framework/unit_testing.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ Then, create a PHPUnit configuration file in ``example.com/phpunit.xml.dist``:
2121
<?xml version="1.0" encoding="UTF-8"?>
2222
<phpunit
2323
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
24+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
2525
backupGlobals="false"
2626
colors="true"
2727
bootstrap="vendor/autoload.php"
2828
>
29-
<coverage processUncoveredFiles="true">
30-
<include>
31-
<directory suffix=".php">./src</directory>
32-
</include>
33-
</coverage>
34-
29+
<coverage/>
3530
<testsuites>
3631
<testsuite name="Test Suite">
3732
<directory>./tests</directory>
3833
</testsuite>
3934
</testsuites>
35+
<source>
36+
<include>
37+
<directory suffix=".php">./src</directory>
38+
</include>
39+
</source>
4040
</phpunit>
4141
4242
This configuration defines sensible defaults for most PHPUnit settings; more

0 commit comments

Comments
 (0)