mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Optimized this->getIO()
This commit is contained in:
parent
320086dcc0
commit
cc522c20bb
18 changed files with 177 additions and 154 deletions
|
@ -104,9 +104,10 @@ EOT
|
|||
return 0;
|
||||
}
|
||||
|
||||
$this->getIO()->writeError('<info>scripts:</info>');
|
||||
$io = $this->getIO();
|
||||
$io->writeError('<info>scripts:</info>');
|
||||
foreach ($scripts as $name => $script) {
|
||||
$this->getIO()->write(' ' . $name);
|
||||
$io->write(' ' . $name);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue