WhichBrowser / Parser-PHP

Browser sniffing gone too far — A useragent parser library for PHP
http://whichbrowser.net
MIT License
1.81k stars 238 forks source link

Update Useragent.php #685

Closed diadal closed 7 months ago

diadal commented 1 year ago

fix for

Creation of dynamic property WhichBrowser\Analyser\Header\Useragent::$options is deprecated

diadal commented 1 year ago

Creation of dynamic property WhichBrowser\Analyser\Header\Useragent::$options is deprecated

mkoprek commented 1 year ago

I'm not sure it will be merged any time: https://github.com/WhichBrowser/Parser-PHP/pull/673

nadar commented 1 year ago

@diadal i have published a fork with your fix on the same namespace. Replace "whichbrowser/parser": "2.1.7", with "nadar/parser": "1.0.0" in your composer.json and you are done.

https://github.com/nadar/Parser-PHP