Hi,
PHPUnit 5.0 should be released soon (October 2nd or December 4th ?)
This will raise PHP dependency to 5.6 (PHPUnit 6 will require PHP 7.0).
Which mean we'll have 3 diff versions for a few years...
PHPUnit 5.0 with PHP 5.6 in Fedora PHPUnit 4.8, in EPEL-7 PHPUnit 3.7, in EPEL-6
To simplify generic spec maintainability, I just add a small feature in 5.0, and backported in 4.8 (in updates-testing)
So it could be simple to
BuildRequires: php-composer(phpunit/phpunit)
%check if phpunit --atleast-version 4.8; then phpunit --verbose else : PHPUnit is too old on this platform fi
Notice all versions < 4.8.9, without this feature, will simply fail (unrecognized option) and so skip the test suite.
Hope this will help
Remi;
PHPUnit 5.0 is released.
For now, I will not import it in fedora repository
Missing dependency:
sebastian§resource-operations Provides a list of PHP built-in functions that operate on resources Review #1267233
Dependent packages not ready:
php-phpunit-PHPUnit-Selenium php-zendframework-zend-test php-phpunit-phpcov
If you are interested in testing this new version, you can use the upstream .phar, or pull it from my testing repository.
See http://blog.remirepo.net/post/2015/10/02/PHPUnit-5.0-en
Regards, Remi.
php-devel@lists.fedoraproject.org