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
Ignore composer-plugin-api (and exclude packages) from reported packages #217
Comments
|
I would add a filter here
|
Hi @verenaroe. Yes, this would be a good way. Go ahead :) |
We might also add some actual rules which are used to ignore packages.
This way we can make sure, that we can also exclude packages by pattern, e.g. |
@verenaroe if you need any help. Let me know. |
Describe the bug
With latest rebuild for ersion
0.8
there a still some implementations missing: like exclude packages. (with the--excludePackage
option)If you are using
composer-unused
for any composer plugin (or evencomposer-unused
itself), thecomposer-plugin-api
package is required but does not actually ship any code. This should be also added to excluded Packages.These types of packages should be removed here:
https://github.com/composer-unused/composer-unused/blob/main/src/Console/Command/UnusedCommand.php#L101
The text was updated successfully, but these errors were encountered: