You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally to autoloading composer also allows the declaration of a bin-file array. These files may very well be the only ones using a specific dependency, like in a single command symfony/console application.
Steps to Reproduce
create a single command symfony console application
@Idrinth I would be really appreciative of a pull request that pulls in the bin entries in the analysis. Do you concur, @sjokki ? I'm currently less available to write a pull request myself, so if you'd please @Idrinth ?
Description
Additionally to autoloading composer also allows the declaration of a bin-file array. These files may very well be the only ones using a specific dependency, like in a single command symfony/console application.
Steps to Reproduce
Example Code
Expected behavior: No errors
Actual behavior: "[ERROR] Package "symfony/console" is installed, but never used."
Reproduces how often: always
Versions
Root Package: 1.0.5
Fixing
I assume adding the files of bin to the list as in https://github.com/mediact/dependency-guard/blob/master/src/Composer/Iterator/SourceFileIteratorFactory.php#L59 would be sufficient.
The text was updated successfully, but these errors were encountered: