File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,25 @@ using `PHPUnit`_. Create a PHPUnit configuration file in
13
13
14
14
.. code-block :: xml
15
15
16
- <?xml version =" 1.0" encoding =" UTF-8" ?>
16
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
17
17
<phpunit
18
18
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/5.1 /phpunit.xsd"
19
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3 /phpunit.xsd"
20
20
backupGlobals =" false"
21
21
colors =" true"
22
22
bootstrap =" vendor/autoload.php"
23
23
>
24
+ <coverage processUncoveredFiles =" true" >
25
+ <include >
26
+ <directory suffix =" .php" >./src</directory >
27
+ </include >
28
+ </coverage >
29
+
24
30
<testsuites >
25
31
<testsuite name =" Test Suite" >
26
32
<directory >./tests</directory >
27
33
</testsuite >
28
34
</testsuites >
29
-
30
- <filter >
31
- <whitelist processUncoveredFilesFromWhitelist =" true" >
32
- <directory suffix =" .php" >./src</directory >
33
- </whitelist >
34
- </filter >
35
35
</phpunit >
36
36
37
37
This configuration defines sensible defaults for most PHPUnit settings; more
@@ -215,6 +215,6 @@ Symfony code.
215
215
Now that we are confident (again) about the code we have written, we can
216
216
safely think about the next batch of features we want to add to our framework.
217
217
218
- .. _`PHPUnit` : https://phpunit.de/manual/current/ en/index.html
219
- .. _`test doubles` : https://phpunit.de/manual/current/en /test-doubles.html
218
+ .. _`PHPUnit` : https://phpunit.readthedocs.io/ en/stable/
219
+ .. _`test doubles` : https://phpunit.readthedocs.io/en/stable /test-doubles.html
220
220
.. _`XDebug` : https://xdebug.org/
You can’t perform that action at this time.
0 commit comments