Skip to content

Commit

Permalink
Fixed Style CI: Stage 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Fiscaletti committed Dec 31, 2018
1 parent 9a4ccaf commit 848557b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ParameterParser/ParameterClosure.php
Expand Up @@ -88,15 +88,15 @@ public function getUsage($withEncapsulation = true, $withAliases = true)
{
$usage = '';
if ($withEncapsulation) {
$usage = ($this->required ? '' : '[' );
$usage = ($this->required ? '' : '[');
}
$aliases = ($withAliases ? $this->getAliasUsage() : '');

$usage .= $this->prefix.$this->parameterName.$aliases.' ';

$usage .= $this->getPropertiesAsString();

return $usage.($withEncapsulation ? ($this->required ? '' : ']' ) : '');
return $usage.($withEncapsulation ? ($this->required ? '' : ']') : '');
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/ParameterParser/ParameterCluster.php
Expand Up @@ -180,7 +180,7 @@ public function printFullUsage(
->noStyle();


$ansi->text (
$ansi->text(
($applicationVersion !== null ? ' '.$applicationVersion : '').PHP_EOL
);
echo PHP_EOL;
Expand Down Expand Up @@ -293,7 +293,7 @@ public function printFullUsage(
$columnNames[] = ucwords($mappedValueName);
}

for($i = 0; $i < $parameterCount; $i++) {
for ($i = 0; $i < $parameterCount; $i++) {
$newFormat = "\t";
foreach ($values as $mappedValueName => $mappedValue) {
$newFormat .= '%-'.$mappedValue['longest'].'s ';
Expand Down

0 comments on commit 848557b

Please sign in to comment.