qossmic / deprecation-detector

MIT License
391 stars 40 forks source link

Decouple Traverser from Container #84

Closed ghost closed 8 years ago

ghost commented 8 years ago

SensioLabs\DeprecationDetector\RuleSet\Traverser should have the finder injected instead of injecting the whole container. As of now we cannot control that the finder's instance is what we expect.

https://github.com/sensiolabs-de/deprecation-detector/blob/master/src/RuleSet/Traverser.php#L40