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

ext-zip is reported as unused when using \ZipArchive #637

Open
VincentLanglet opened this issue Mar 16, 2024 · 3 comments
Open

ext-zip is reported as unused when using \ZipArchive #637

VincentLanglet opened this issue Mar 16, 2024 · 3 comments

Comments

@VincentLanglet
Copy link
Contributor

HI @icanhazstring, thanks for the lib ; I just found a small bug (or is it me mis-understanding something ?)

Describe the bug

I have a file with does

$zip = new \ZipArchive();

but composer-unused reports ext-zip as unused.

@icanhazstring
Copy link
Member

Hi. That is odd. Let me dig a little 🙂

@gisostallenberg
Copy link

Same for ext-decimal and I suppose ext-http, see #631

@rosven9856
Copy link

For ext_* packages, to bypass the error, you can use the argument --excludePackage=ext_zip. This helped me.

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

4 participants