Parser-PHP icon indicating copy to clipboard operation
Parser-PHP copied to clipboard

Update Useragent.php

Open diadal opened this issue 2 years ago • 3 comments

fix for

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

diadal avatar Aug 17 '23 06:08 diadal

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

diadal avatar Aug 17 '23 06:08 diadal

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

mkoprek avatar Aug 30 '23 17:08 mkoprek

@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

nadar avatar Oct 23 '23 14:10 nadar