Documentation : PHPUnit 4.2 manual

Up to version 3.7, PHPUnit and its components were distributed in the "phpunit" pear channel. Each component was also distributed in a specific RPM, in the same way.

Since version 4.0, the pear package only provides a huge phar archive, which includes all the components. This is the official distribution solution chosen by its author. This distribution way is, sadly, not acceptable for RPM distribution.

More, this pear channel will be closed soon (before the end of the year).

Since version 4.1 each component is now build from its github sources. The autoload mechanism is maintained..

Installation :

yum --enablerepo=remi install phpunit

Please, test this new verson, also available in Fedora 21, Rawhide and EPEL-7.