openfoodfacts-php
openfoodfacts-php copied to clipboard
fix: ext-gd as dev. dependency
What
Use of ext-gd
appears to only be required in tests (through imagepng()
call), introduced in https://github.com/openfoodfacts/openfoodfacts-php/pull/47. Therefore, proposing to move from require to require-dev
Fixes bug(s)
- Prevents the need for users to have the extension installed on their system. For example: https://github.com/openfoodfacts/openfoodfacts-laravel/issues/52