$ composer deptrac
> vendor/bin/deptrac analyze --config-file=app/bridge/deptrac.yaml --report-uncovered --fail-on-uncovered
1/272 [>---------------------------] 0%
[ERROR] Analysis finished with an Exception.
Invalid collector definition.
SuperglobalCollector needs the names configuration.
the above config was valid in deptrac 1.x and I think the error message made sense at that time.
since deptrac 2.x requires a value: config attribute, I think the error message is no longer fitting:
SuperglobalCollector needs the names configuration.
using a invalid configuration like (note
names:
instead ofvalue:
)leads to a error like
the above config was valid in deptrac 1.x and I think the error message made sense at that time. since deptrac 2.x requires a
value:
config attribute, I think the error message is no longer fitting:I had a similar experience with
which worked in deptrac 1.x but leads to this misleading error on deptrac 2.x: