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
1313
1414.. code-block :: xml
1515
16- <?xml version =" 1.0" encoding =" UTF-8" ?>
16+ <?xml version =" 1.0" encoding =" UTF-8" ?>
1717 <phpunit
1818 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"
2020 backupGlobals =" false"
2121 colors =" true"
2222 bootstrap =" vendor/autoload.php"
2323 >
24+ <coverage processUncoveredFiles =" true" >
25+ <include >
26+ <directory suffix =" .php" >./src</directory >
27+ </include >
28+ </coverage >
29+
2430 <testsuites >
2531 <testsuite name =" Test Suite" >
2632 <directory >./tests</directory >
2733 </testsuite >
2834 </testsuites >
29-
30- <filter >
31- <whitelist processUncoveredFilesFromWhitelist =" true" >
32- <directory suffix =" .php" >./src</directory >
33- </whitelist >
34- </filter >
3535 </phpunit >
3636
3737 This configuration defines sensible defaults for most PHPUnit settings; more
@@ -215,6 +215,6 @@ Symfony code.
215215Now that we are confident (again) about the code we have written, we can
216216safely think about the next batch of features we want to add to our framework.
217217
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
220220.. _`XDebug` : https://xdebug.org/
You can’t perform that action at this time.
0 commit comments