Closed kocsismate closed 2 years ago
Do you have a particular UA string that triggers the issue?
Do you have a particular UA string that triggers the issue?
Yes, our test suite contains a Lenovo-A880/S100 Linux/3.4.5 Android/4.2 Release/08.07.2013 Browser/AppleWebKit 534.30 Profile/ Configuration;
User-Agent
value which triggers it.
Thanks! I just wanted to potentially add a regression test. PHP 8.1 is really snippy about strings.
I've just added a test. :) Can you please approve the workflow so that CI can be started?
This was manually merged as part of a35900b93530715f8669c10e49756adde5c8e6fc
It has been tagged and released in https://github.com/donatj/PhpUserAgent/releases/tag/v1.7.0
Thanks again!
Thank you for your quick help!
Fixing
strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated