Skip to content

Commit 3788129

Browse files
author
Oliver Klee
committed
[FEATURE] Use the testdox printer for PHPUnit
Also update the PHPUnit schema URL to the latest version and drop a redundant attribute from the PHPUnit configuration file. Fixes #236
1 parent 4a5ed60 commit 3788129

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Configuration/PHPUnit/phpunit.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.2/phpunit.xsd"
6-
backupGlobals="false"
5+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.5/phpunit.xsd"
6+
printerClass="rpkamp\FancyTestdoxPrinter"
77
colors="true"
88
bootstrap="../../vendor/autoload.php"
99
>

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"require-dev": {
4444
"phpunit/phpunit": "^6.5.0",
4545
"phpunit/dbunit": "^3.0.0",
46+
"rpkamp/fancy-testdox-printer": "^0.2.2",
4647
"squizlabs/php_codesniffer": "^3.2.0",
4748
"phpstan/phpstan": "^0.7.0",
4849
"nette/caching": "^2.5.0 || ^3.0.0",

0 commit comments

Comments
 (0)