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.
Description:
I have a library that has a class
Controller, which hasuse Simbiat\CuteBytes;in it, which refers another library. This 2nd library is part ofcomposer.json, but not therequireblock: I use it insuggestblock, 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 thesuggestis also checked so that this warning is not shown.