Skip to content

Commit

Permalink
Merge pull request #672 from patrickkusebauch/superglobal-collector-s…
Browse files Browse the repository at this point in the history
…ervice

Add superglobal collector to services.php
  • Loading branch information
Denis Brumann authored Aug 23, 2021
2 parents 4f15257 + 43cbee8 commit 0f46bb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Qossmic\Deptrac\Collector\InheritsCollector;
use Qossmic\Deptrac\Collector\MethodCollector;
use Qossmic\Deptrac\Collector\Registry;
use Qossmic\Deptrac\Collector\SuperglobalCollector;
use Qossmic\Deptrac\Collector\UsesCollector;
use Qossmic\Deptrac\Configuration\Dumper;
use Qossmic\Deptrac\Configuration\Loader;
Expand Down Expand Up @@ -224,6 +225,9 @@
->set(MethodCollector::class)
->args([service(NikicPhpParser::class)])
->tag('collector');
$services
->set(SuperglobalCollector::class)
->tag('collector');

/* Dependency resolving */
$services
Expand Down

0 comments on commit 0f46bb9

Please sign in to comment.