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
I want to use --fail-on-uncovered as it's a pretty nifty tool to identify how you application is using the vendor library.
I only want to check how and if I user my direct imports from composer.json.
I do not want to analyze any vendor file, as I am interested in only how I am using them, and not in how themselves are using their imports.
Remove ./vendor/psr/log and ./vendor/slickdeals/statsd from paths - this way you tell deptrac you do not want those folders analysed
Change your collectors in Vendor* layers to not use directory collector. You have several options there. You can use ClassNameRegex collector or similar and match on the namespace of the dependency, or, in the next release of Deptrac, you can use the composer collector.
Hi, I'm trying to use deptrac for my project.
I want to use --fail-on-uncovered as it's a pretty nifty tool to identify how you application is using the vendor library.
I only want to check how and if I user my direct imports from composer.json.
I do not want to analyze any vendor file, as I am interested in only how I am using them, and not in how themselves are using their imports.
Example:
How can I achieve this? How can I exclude VendorPsrLog and VendorStatsClient from analysing their own dependencies?
The text was updated successfully, but these errors were encountered: