mamuz / PhpDependencyAnalysis

Static code analysis to find violations in a dependency graph
http://mamuz.github.io/PhpDependencyAnalysis/
MIT License
564 stars 45 forks source link

namespaceFilter plugin is never called #18

Closed phpsurf closed 8 years ago

phpsurf commented 8 years ago

Custom filter plugin, implementing NamespaceFilterInterface interface, declared in yml as namespaceFilter option and added to composer autoload. The plugin class is well loaded, but the filter method is never called.

mamuz commented 8 years ago

Hi @phpsurf,

for me its not reproducable. Maybe you can give me more details, such as the used configuration. You can also try to add a test for this issue.

phpsurf commented 8 years ago

Hi, thanks for your reply. This is now resolved, I actually figured out that the filter plugin only gets called when there is an excludePattern defined in the visitorOptions. Sorry if I missed this in the doc, or maybe something to add to it. Maybe still some unwanted behaviour to fix. Thanks

mamuz commented 8 years ago

Sideeffect regarding "excludePattern" is not reproducable.