You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
phpunit/php-code-coverage 2.2.4 Library that provides collection, processing,
phpunit/php-file-iterator 1.4.5 FilterIterator implementation that filters
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 1.0.9 Utility class for timing
phpunit/php-token-stream 1.4.12 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 4.8.36 The PHP Unit Testing framework.
phpunit/phpunit-mock-objects 2.3.8 Mock Object library for PHPUnit
We've switched from PHP 7.1 to PHP 7.2, which meant switching CakePHP from 2.9 to 2.10. Which in turn meant switching PHPUnit from 3.7.x to 4.8.x.
Now tests throw up warnings because each() is used in GetOpt.php:
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in ./vendor/phpunit/phpunit/src/Util/Getopt.php on line 38
I get that this is an older version of PHPUnit, so I can work on this, if changes are still accepted for 4.x. I saw that GetOpt will be replaced at some point by Symfony, but even then probably not in this older version.
And thank you for the great work on PHPUnit!
EDIT: I guess I would just backport this one: #2536
The text was updated successfully, but these errors were encountered:
Actually, just found out that CakePHP 2.10 supports PHPUnit 5.x as well, so no need for this change, in my case. Just needed to change the PHPUnit version in composer to 5.* and run composer update.
Hope this helps others.
Composer Info for the PHPUnit packages:
We've switched from PHP 7.1 to PHP 7.2, which meant switching CakePHP from 2.9 to 2.10. Which in turn meant switching PHPUnit from 3.7.x to 4.8.x.
Now tests throw up warnings because
each()
is used in GetOpt.php:I get that this is an older version of PHPUnit, so I can work on this, if changes are still accepted for 4.x. I saw that GetOpt will be replaced at some point by Symfony, but even then probably not in this older version.
And thank you for the great work on PHPUnit!
EDIT: I guess I would just backport this one: #2536
The text was updated successfully, but these errors were encountered: