akeneo / php-coupling-detector

[Experimental] Detect all the coupling issues of your project with respect to the coupling rules you have defined.
MIT License
42 stars 6 forks source link

Fix unused requirement command #69

Closed pierallard closed 2 years ago

pierallard commented 2 years ago

When you define a rule, you define the path where you have to check the rules. If there is no matching file, all the dependencies are marked as "unused". This PR will skip a rule if there is no matching file.

This PR allows to define a rule without any requirements (for example, a well defined Domain has never any requirement)