Skip to content

false positive: unused dependency #224

@staabm

Description

@staabm

repro

result is

➜  phpstan-composer-analysis-repro git:(main) ✗ vendor/bin/composer-dependency-analyser

Found 1 unused dependency!
(those are listed in composer.json, but no usage was found in scanned paths)

  • staabm/thincache

(scanned 1 files in 0.001 s)

even though classes from staabm/thincache are referenced via ::class

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions