@@ -23,8 +23,9 @@ |
||
| 23 | 23 | { |
| 24 | 24 | $names = []; |
| 25 | 25 | foreach(array_keys($this->instanceList) as $name) { |
| 26 | - if (($includeFilter == '' || fnmatch($includeFilter, $name)) && ($excludeFilter == '' || !fnmatch($includeFilter, $name))) |
|
| 27 | - $names[] = $name; |
|
| 26 | + if (($includeFilter == '' || fnmatch($includeFilter, $name)) && ($excludeFilter == '' || !fnmatch($includeFilter, $name))) { |
|
| 27 | + $names[] = $name; |
|
| 28 | + } |
|
| 28 | 29 | } |
| 29 | 30 | return $names; |
| 30 | 31 | } |
@@ -43,8 +43,7 @@ |
||
| 43 | 43 | $this->errorOutput->setVerbosity(OutputInterface::VERBOSITY_NORMAL); |
| 44 | 44 | $this->errorOutput->writeln($message, $type); |
| 45 | 45 | $this->errorOutput->setVerbosity(OutputInterface::VERBOSITY_QUIET); |
| 46 | - } |
|
| 47 | - else |
|
| 46 | + } else |
|
| 48 | 47 | { |
| 49 | 48 | $this->errorOutput->writeln($message, $type); |
| 50 | 49 | } |