Skip to content

Can dev dependencies be analyzed, too? #348

Closed Answered by icanhazstring
TravisCarden asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. You didn't miss the feature. This is not implemented yet.

The reason behind this is that composer-unused was originally planned to scan production dependencies to avoid security issues of used dependencies.

Also scanning dev dependencies will be supported in a future release. But right now this will bring a lot of "issues" with it, because a lot of dev dependencies are not actually used in the code, but provide tools and other stuff. These will, as of now, be reported as unused, so additional configuration is needed.

But, as I said, the feature will be added as an opt-in cli option in the future.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TravisCarden
Comment options

Answer selected by TravisCarden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants