liip / LiipImagineBundle

Symfony Bundle to assist in image manipulation using the imagine library
http://liip.ch
MIT License
1.66k stars 378 forks source link

Fix trying to open non-existant manifest file #1600

Closed AirBair closed 4 months ago

AirBair commented 4 months ago
Q A
Branch? 2.x
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets
License MIT
Doc

Hello,

Following #1529, cache:clear auto-script in fresh composer install for example is crashing because the manifest.json does not exist yet.

image

This PR add a check on the existence of the file before trying to open it.

dbu commented 4 months ago

/cc @wouterSkepp

coveralls commented 4 months ago

Coverage Status

coverage: 81.835%. remained the same when pulling 91d8823b95da01f38916c7c2a776cb69735db97d on AirBair:patch-1 into 0c95437a7e1a0561004c8f7f7a412884f9f12438 on liip:2.x.

dbu commented 4 months ago

tagged as https://github.com/liip/LiipImagineBundle/releases/tag/2.13.1

coveralls commented 4 months ago

Coverage Status

coverage: 81.746% (-0.09%) from 81.835% when pulling 9a110266af91d1afe1718698a90466657c9ee2f6 on AirBair:patch-1 into 0c95437a7e1a0561004c8f7f7a412884f9f12438 on liip:2.x.