serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
http://mobiledetect.net
MIT License
10.55k stars 2.68k forks source link

Declare support for older psr/simple-cache version #953

Closed staabm closed 9 months ago

staabm commented 9 months ago

the only changes between psr/simple-cache v2 and v3 is added return types - which is a backwards compatible change.

from the mobile detect point of view these 2 should work. would be great if we could leave the decision which exactly is used to "composer install" to be compatible with more packages out there.

verified by running the test-suite locally with psr/simple-cache:v2

staabm commented 9 months ago

the build failled on some slack credentials stuff, unrelated to the PR