openfoodfacts-php
openfoodfacts-php copied to clipboard
feat: force user agent
What
Force the user agent Clean of the previous PR https://github.com/openfoodfacts/openfoodfacts-php/pull/49
Issues
https://github.com/openfoodfacts/openfoodfacts-php/issues/48
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
be aware that this will introduce a breaking change. Not sure if forcing the useragent is really that important (no way to verify anyhow)?... if not, maybe revert this - or add as optional parameter at the end of the constructor?
If we keep it in, we'd need to tag it as 0.4.x (at least)