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

False positive when using beberlei/doctrineextensions. #107

Open
laurentmuller opened this issue Oct 19, 2020 · 2 comments
Open

False positive when using beberlei/doctrineextensions. #107

laurentmuller opened this issue Oct 19, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@laurentmuller
Copy link

Describe the bug

In my project, I use the beberlei/doctrineextensions plugin. To use this plugin, I just have the beberlei_doctrine_extensions.yaml configuration file. No depedencies is used in my code.

Error dump

Unused packages
    beberlei/doctrineextensions

Request

This will be nice if the composer-unused can detect this kind of use (configuration file depedencies).

@icanhazstring
Copy link
Member

icanhazstring commented Oct 19, 2020

Hi @laurentmuller thanks for reaching out.

Sadly at the moment, this is not possible.
I am working on implementing a custom scanner (#69) so support such packages.

One possibility would be to "ignore" the package for now from composer-unused in you composer.json.
This way your checks should run fine.

I will keep this open and mark it as a duplicate so you will get notified if I have solved this :)

@icanhazstring
Copy link
Member

Duplicate to #43 and #74.

@icanhazstring icanhazstring added the duplicate This issue or pull request already exists label Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants