@@ -68,7 +68,7 @@ |
||
68 | 68 | if ($action == self::EXECUTE_COMMAND) { |
69 | 69 | $options[] = '--execute=' . $sqlOrFilename; |
70 | 70 | } |
71 | - // $env = [ |
|
71 | + // $env = [ |
|
72 | 72 | // problematic when wrapping the process in a call to `time`... |
73 | 73 | //'MYSQL_PWD' => $this->databaseConfiguration['password'], |
74 | 74 | //]; |
@@ -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 | } |