diff --git a/CHANGELOG.md b/CHANGELOG.md index f4bc899b..106d8126 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v0.3.3 + +- Fix in Factory for missing dependency + ## v0.3.2 - Fix in CycleDetector diff --git a/src/Command/MessageInterface.php b/src/Command/MessageInterface.php index 17455b3f..3e044770 100644 --- a/src/Command/MessageInterface.php +++ b/src/Command/MessageInterface.php @@ -27,7 +27,7 @@ interface MessageInterface { - const VERSION = 'v0.3.2'; + const VERSION = 'v0.3.3'; const NAME = 'PhpDependencyAnalyse by Marco Muths'; diff --git a/src/Command/Strategy/AbstractFactory.php b/src/Command/Strategy/AbstractFactory.php index 4e85d441..3226e9ca 100644 --- a/src/Command/Strategy/AbstractFactory.php +++ b/src/Command/Strategy/AbstractFactory.php @@ -29,7 +29,6 @@ use PhpDA\Layout\Builder; use PhpDA\Layout\GraphViz; use PhpDA\Layout\Helper\CycleDetector; -use PhpDA\Layout\Helper\DependencyMapGenerator; use PhpDA\Layout\Helper\GroupGenerator; use PhpDA\Parser\AnalyzerFactory; use PhpDA\Plugin\FactoryInterface; @@ -62,7 +61,7 @@ protected function createAnalyzer() */ protected function createGraphBuilder() { - $cycleDetector = new CycleDetector(new DependencyMapGenerator); + $cycleDetector = new CycleDetector; return new Builder(new GraphViz(new Graph), new GroupGenerator, $cycleDetector); }