Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not sure exactly what the cause is, but with PHP 7.4, the existing code would fail at file_put_contents (which would return a false, despite the stream contents being added to the tmp file). Explicitly copying in chunks like this probably isn't ideal, but at least now it works.
- Loading branch information