Skip to content

CacheTest: handle different exceptions PHP cross-version#691

Merged
mblaney merged 1 commit intosimplepie:masterfrom
jrfnl:feature/test-work-round-removed-functionality-php-8
Aug 21, 2021
Merged

CacheTest: handle different exceptions PHP cross-version#691
mblaney merged 1 commit intosimplepie:masterfrom
jrfnl:feature/test-work-round-removed-functionality-php-8

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.

2 participants