[Fedora-php-devel-list] colors and timezone in PHPUnit

Remi Collet Fedora at FamilleCollet.com
Wed Nov 12 15:30:14 UTC 2014


Hi,

PHPUnit 4.4 will have 2 new features:

- colors is only enabled when output is a terminal
- date.timezone defaults to UTC when not defined


Both are now backported in our build, in all branches

- version 4.3.5-1 in F21 and EPEL-7
- version 3.7.34-2 in F19, F20 and EPEL-6

This will allow us clean some of our spec, ex

-sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml
-phpunit -d date.timezone="UTC"
+phpunit

Hope this helps ;)

Of course,
tests and feedback (karma) for packages in testing is very welcome.


Remi.


P.S yes at some time I will see to update to 4.x in F20 and EPEL-6


More information about the php-devel mailing list