I\'m working on an application where I fix orientation (if it is present) of jpeg files downloaded from an AWS bucket.
Here you can verify that this image has exif Rotat
In production environment, the best is still to hide warnings!
So I changed he error reporting to ERRORS only with the following line in begining of my script :
error_reporting(E_ERROR);