php-jwt
php-jwt copied to clipboard
Remove phpunit deprecation warnings for prophesize
Seemed like it was only a factor in Firebase\JWT\CachedKeySetTest.
Could consider extending PHPUnit\Framework\TestCase to add the trait if plan on using the lib elsewhere.
The problem here is that we added back support for PHP 7.1 and 7.2, and phpunit prophecy 2.0 does not support those versions of PHP.
There is a PR to add support for a polyfill (https://github.com/phpspec/prophecy-phpunit/pull/38), so comment / +1 that if you'd like to see it added.