We could do, but presumably it was originally allowed to continue so that multiple validation errors could be reported in one go (invalid file size and invalid MIME type for example) - testing the MIME type is only a problem when PHP deemed the file size too big, but not when for PHP it was ok but not for the file size given in the validator itself.