| @@ 124-129 (lines=6) @@ | ||
| 121 | continue; |
|
| 122 | } |
|
| 123 | if (is_string($message = $this->{'check' . $check}($package))) { |
|
| 124 | if (!$packageNames && !$errors) { |
|
| 125 | $this->console->output( |
|
| 126 | str_repeat(chr(8), strlen($check)) |
|
| 127 | . '<fg=red;bg=black>' . $check . '</>' |
|
| 128 | ); |
|
| 129 | } |
|
| 130 | $message = sprintf($message, "package <comment>$package->name</>"); |
|
| 131 | $this->console->output(ucfirst($message)); |
|
| 132 | $errors++; |
|
| @@ 154-162 (lines=9) @@ | ||
| 151 | if ($rerunForPackages) { |
|
| 152 | $this->doCheck($check, $fix, $rerunForPackages); |
|
| 153 | } |
|
| 154 | if (!$packageNames) { |
|
| 155 | if (!$errors) { |
|
| 156 | $this->console->output( |
|
| 157 | str_repeat(chr(8), strlen($check)) |
|
| 158 | . '<fg=green;bg=black>' . $check . '</>' |
|
| 159 | ); |
|
| 160 | } |
|
| 161 | $this->console->outdent(); |
|
| 162 | } |
|
| 163 | } |
|
| 164 | ||
| 165 | /** |
|