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
The option is to use onlyMethods() instead, but this needs checking to see if PHPUnit-Polyfills handles this for PHPUnit 7, which we still need to test PHP 7.1.
We only have a single instance of setMethods(), so we may be able to fashion a workaround if it's not polyfilled.
The text was updated successfully, but these errors were encountered:
As per sebastianbergmann/phpunit#3687
setMethods()
is deprecated and will be removed in PHPUnit 10.The option is to use
onlyMethods()
instead, but this needs checking to see if PHPUnit-Polyfills handles this for PHPUnit 7, which we still need to test PHP 7.1.We only have a single instance of
setMethods()
, so we may be able to fashion a workaround if it's not polyfilled.The text was updated successfully, but these errors were encountered: