PHP 7.4 and PHPUnit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

According to upstream

PHPUnit 7 supports PHP 7.1 to 7.3
PHPUnit 8 supports PHP 7.2 to 7.4


As PHPUnit 8 breaks BC with previous versions (return type hinting in
setup method), lot of projects will stay way this new version.


Running lot of test suites using 7.4.0beta4, I encounter lot of
failures, lot ot them related to deprecated usage of
ReflectionType::__toString().


This is fixed in PHPUnit 7.1.15

I have backported the fix in

* php-phpunit-PHPUnit-MockObject-3.4.4-5 for PHPUnit 5
* php-phpunit-mock-objects5-5.0.10-3 for PHPUnit 6

All these are only built for Fedora 31/rawhide

I hope this will help.



Remi


P.S. I plan to import 7.4 in rawhide in September, during RC phase.
_______________________________________________
php-devel mailing list -- php-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to php-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/php-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora KDE]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux