Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change method of opening ZIP files #120

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

DanBrada
Copy link
Contributor

PHP 8 has deprecated opening empty files for opening zip. This is caused by deprection in libzip 1.6.0. This PR mitigates the issue by changing method of opening ZIP files from ZipArchive::CREATE to ZipArchive::OVERWRITE

Relevant PHP commit
Relevant PHP bug report

@tschoffelen tschoffelen merged commit ee8c9de into tschoffelen:master Oct 25, 2022
@tschoffelen
Copy link
Owner

Thanks for your contribution! Released as version 2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants