Skip to content

Support for suggest for Transitive dependencies #1974

@Simbiat

Description

@Simbiat

Description:

I have a library that has a class Controller, which has use Simbiat\CuteBytes; in it, which refers another library. This 2nd library is part of composer.json, but not the require block: I use it in suggest block, since this is an optional library, and there is a check for its existence in the code. Yet, I am getting a [EA] The class belongs to a package that is not directly required in composer.json file. Therefore, please actualize composer.json and add the package as a dependency.. Which is valid, since I, indeed, do not require it, but it would be nice if the suggest is also checked so that this warning is not shown.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions