Intervention / image

PHP Image Processing
https://image.intervention.io
MIT License
13.93k stars 1.5k forks source link

Fix file_exists bug in PHP 8.1 #1207

Closed bnd170 closed 11 months ago

bnd170 commented 1 year ago

If $path is null, to check if file exists have no much sense, then check if its null and return false.

I've created an issue about that. https://github.com/Intervention/image/issues/1206

bnd170 commented 1 year ago

I also fixed the rest usages of file_exists.

olivervogel commented 11 months ago

Please use Version 3 of Intervention Image.