Changed text width in apply command output

This commit is contained in:
Chris 2017-02-22 21:20:16 +01:00
parent 989a8b831e
commit 54f64095ea
3 changed files with 1 additions and 14 deletions

BIN
makephar

Binary file not shown.

View File

@ -1,13 +0,0 @@
{
"output": "hotfix",
"include": [
"bin",
"src",
"vendor"
],
"stub": "bin/bootstrap.php",
"options": {
"chmod": "0777"
},
"compress": 3
}

View File

@ -57,7 +57,7 @@ class ApplyCommand extends Command
$header = $hotfix->getHeader();
$output->writeln(" Hotfix: <fg=yellow;options=bold>".$header->getName()."</fg=yellow;options=bold>");
$output->writeln(" Author: <comment>".$header->getAuthor()."</comment>");
$info = explode("\n",wordwrap(trim($header->getInfo()), 60));
$info = explode("\n",wordwrap(trim($header->getInfo()), 80));
$info = "<comment>".join("</comment>\n <comment>", $info)."</comment>";
$output->writeln(" Info: ".$info);
$output->writeln("");