PHPUnit Unicode Printer
To get the last version of PHPUnit Unicode Printer, simply require the project using Composer:
composer require --dev josrom/phpunit-unicode-printer:9.*
Instead, you may of course manually update your require block and run composer update if you so choose:
{
"require-dev": {
"josrom/phpunit-unicode-printer": "9.*"
}
}
Modify the phpunit.xml
to add the printer:
<phpunit ...
colors="true"
printerClass="PHPUnit\Printer"
...>
...
</phpunit>
or
<phpunit ...
colors="true"
printerClass="PHPUnit\PrinterClass"
...>
...
</phpunit>
or
<phpunit ...
colors="true"
printerClass="PHPUnit\PrinterMethod"
...>
...
</phpunit>
For previous versions of PHPUnit use the tag 0.4.*
or 8.*
For previous versions of PHPUnit use the tag 0.3.*
or 7.*
For previous versions of PHPUnit use the tag 0.2.*
For previous versions of PHPUnit use the tag 0.1.*