Skip to content

Commit

Permalink
missing dependency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mamuz committed Jan 17, 2015
1 parent 0b5134d commit c291b33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.3.3

- Fix in Factory for missing dependency

## v0.3.2

- Fix in CycleDetector
Expand Down
2 changes: 1 addition & 1 deletion src/Command/MessageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

interface MessageInterface
{
const VERSION = 'v0.3.2';
const VERSION = 'v0.3.3';

const NAME = 'PhpDependencyAnalyse by Marco Muths';

Expand Down
3 changes: 1 addition & 2 deletions src/Command/Strategy/AbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit c291b33

Please sign in to comment.