CS fixes
parent
8a154d7300
commit
dbfd47eeca
|
@ -19,7 +19,6 @@ use Composer\Plugin\PluginEvents;
|
||||||
use Composer\Package\PackageInterface;
|
use Composer\Package\PackageInterface;
|
||||||
use Composer\Repository\RepositoryInterface;
|
use Composer\Repository\RepositoryInterface;
|
||||||
use Symfony\Component\Console\Helper\Table;
|
use Symfony\Component\Console\Helper\Table;
|
||||||
use Symfony\Component\Console\Helper\TableStyle;
|
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
|
@ -126,6 +126,7 @@ class ConsoleIO extends BaseIO
|
||||||
if (true === $stderr && $this->output instanceof ConsoleOutputInterface) {
|
if (true === $stderr && $this->output instanceof ConsoleOutputInterface) {
|
||||||
$this->output->getErrorOutput()->write($messages, $newline);
|
$this->output->getErrorOutput()->write($messages, $newline);
|
||||||
$this->lastMessageErr = join($newline ? "\n" : '', (array) $messages);
|
$this->lastMessageErr = join($newline ? "\n" : '', (array) $messages);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,8 @@ class Git
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function isAuthenticationFailure ($url, &$match) {
|
private function isAuthenticationFailure($url, &$match)
|
||||||
|
{
|
||||||
if (!preg_match('{(https?://)([^/]+)(.*)$}i', $url, $match)) {
|
if (!preg_match('{(https?://)([^/]+)(.*)$}i', $url, $match)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue