forked from deblan/t411-console
bugs corrections
This commit is contained in:
parent
87f4467b3d
commit
0627e50034
|
@ -11,16 +11,14 @@
|
||||||
"email": "simon+github@deblan.fr"
|
"email": "simon+github@deblan.fr"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
|
||||||
"php": ">=5.5",
|
|
||||||
"symfony/process": "~2.6"
|
|
||||||
},
|
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
"": "src/"
|
"": "src/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
"php": ">=5.5",
|
||||||
|
"symfony/process": "~2.6",
|
||||||
"symfony/console": "2.*",
|
"symfony/console": "2.*",
|
||||||
"psr/log": "1.0.0",
|
"psr/log": "1.0.0",
|
||||||
"symfony/finder": "~2.6",
|
"symfony/finder": "~2.6",
|
||||||
|
|
|
@ -27,9 +27,8 @@ class Application extends BaseApplication
|
||||||
|
|
||||||
public function loadCommands()
|
public function loadCommands()
|
||||||
{
|
{
|
||||||
$finder = new Finder();
|
|
||||||
|
|
||||||
foreach ($this->commandsPaths as $path => $namespace) {
|
foreach ($this->commandsPaths as $path => $namespace) {
|
||||||
|
$finder = new Finder();
|
||||||
$finder->files('*Command.php')->in($path);
|
$finder->files('*Command.php')->in($path);
|
||||||
|
|
||||||
foreach ($finder as $file) {
|
foreach ($finder as $file) {
|
||||||
|
|
Loading…
Reference in a new issue