openfoodfacts-php icon indicating copy to clipboard operation
openfoodfacts-php copied to clipboard

fix: ext-gd as dev. dependency

Open epalmans opened this issue 8 months ago • 7 comments

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

epalmans avatar Jun 11 '24 05:06 epalmans