Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4918110

Browse files
committed
fix CS issues in Console Application and ApplicationTest
1 parent 94eb384 commit 4918110

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ public function renderException($e, $output)
717717
'args' => array(),
718718
));
719719

720-
for ($i = 0, $count = count($trace); $i < $count; $i++) {
720+
for ($i = 0, $count = count($trace); $i < $count; ++$i) {
721721
$class = isset($trace[$i]['class']) ? $trace[$i]['class'] : '';
722722
$type = isset($trace[$i]['type']) ? $trace[$i]['type'] : '';
723723
$function = $trace[$i]['function'];
@@ -1086,7 +1086,7 @@ private function findAlternatives($name, $collection)
10861086
}
10871087
}
10881088

1089-
$alternatives = array_filter($alternatives, function ($lev) use ($threshold) { return $lev < 2*$threshold; });
1089+
$alternatives = array_filter($alternatives, function ($lev) use ($threshold) { return $lev < 2 * $threshold; });
10901090
asort($alternatives);
10911091

10921092
return array_keys($alternatives);

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ public function testRun()
679679
}
680680

681681
/**
682-
* Issue #9285
682+
* Issue #9285.
683683
*
684684
* If the "verbose" option is just before an argument in ArgvInput,
685685
* an argument value should not be treated as verbosity value.

0 commit comments

Comments
 (0)