consider adding type info to cache interfaces that extend PSR-16 Simple Cache?
It looks like in August 2021, the PHP-FIG PSR-16 Simple Cache interface had parameter and return type info added to the method definitions.
Noticed when the 2.1+ update to the Breeze WordPress cache plugin referenced the updated cache interface definition via the included Mobile Detect package.
Maybe there's an adjustment to be made or maybe they (Mobile Detect folk) are including the PSR definitions incorrectly? Have not investigated.
Here's the error message that caused me to notice and track down the issue:
An error of type E_COMPILE_ERROR was caused in line 43 of the file /…/wp-content/plugins/civicrm/civicrm/CRM/Utils/Cache/Interface.php. Error message: Declaration of CRM_Utils_Cache_Interface::get($key, $default = null) must be compatible with Psr\SimpleCache\CacheInterface::get(string $key, mixed $default = null): mixed
Initial PSR-16 implementation inclusion was in issue #174 (closed).