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

PHP 8.1 and ZipArchive::addFile() method does not support vfsStream ? #291

Open
lhervieux opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@lhervieux
Copy link

I used to test classes with ZipArchive methods with vfsStream, and everything work great.

I upgraded php version in my project 7.4 to 8.1, and now I have an error :

ZipArchive::addFile(): No such file or directory

To be sure, before to use addFile(), I dump different methods to check if the file still exists (is_file($temporaryFilePath), file_get_contents($temporaryFilePath), file_exists($temporaryFilePath)...) and everything is ok.

I didnt see anything in php.net about changes related to ZipArchive passing 7.4 to 8.1

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

No branches or pull requests

1 participant