diff --git a/composer.json b/composer.json index c27b75b..d6cdc98 100644 --- a/composer.json +++ b/composer.json @@ -11,16 +11,14 @@ "email": "simon+github@deblan.fr" } ], - "require": { - "php": ">=5.5", - "symfony/process": "~2.6" - }, "autoload": { "psr-0": { "": "src/" } }, "require": { + "php": ">=5.5", + "symfony/process": "~2.6", "symfony/console": "2.*", "psr/log": "1.0.0", "symfony/finder": "~2.6", diff --git a/src/Console/Application.php b/src/Console/Application.php index bd52d6e..d31ce38 100644 --- a/src/Console/Application.php +++ b/src/Console/Application.php @@ -27,9 +27,8 @@ class Application extends BaseApplication public function loadCommands() { - $finder = new Finder(); - foreach ($this->commandsPaths as $path => $namespace) { + $finder = new Finder(); $finder->files('*Command.php')->in($path); foreach ($finder as $file) {