Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CacheTest: handle different exceptions PHP cross-version #691

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Aug 15, 2021

The legacy manner of caching was PHP deprecated for quite a while already, but can no longer be supported in PHP 8 as support for calling a non-static method statically has been removed.

This updates the inline comments in the SimplePie_Registry::call() method along those lines and adjusts the exception expected by the CacheTest::testDirectOverrideLegacy() to match.

The legacy manner of caching was PHP deprecated for quite a while already, but can no longer be supported in PHP 8 as support for calling a non-static method statically has been removed.

This updates the inline comments in the `SimplePie_Registry::call()` method along those lines and adjusts the exception expected by the `CacheTest::testDirectOverrideLegacy()` to match.
@mblaney mblaney merged commit 9414120 into simplepie:master Aug 21, 2021
@jrfnl jrfnl deleted the feature/test-work-round-removed-functionality-php-8 branch August 21, 2021 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants