[Console] Fix Symfony coding standards violations
This commit is contained in:
parent
8b63d6209d
commit
05348991c2
@ -77,7 +77,7 @@ class QuestionHelper extends Helper
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the helper's input stream
|
||||
* Returns the helper's input stream.
|
||||
*
|
||||
* @return resource
|
||||
*/
|
||||
@ -218,7 +218,7 @@ class QuestionHelper extends Helper
|
||||
// Backspace Character
|
||||
if ("\177" === $c) {
|
||||
if (0 === $numMatches && 0 !== $i) {
|
||||
$i--;
|
||||
--$i;
|
||||
// Move cursor backwards
|
||||
$output->write("\033[1D");
|
||||
}
|
||||
@ -271,7 +271,7 @@ class QuestionHelper extends Helper
|
||||
} else {
|
||||
$output->write($c);
|
||||
$ret .= $c;
|
||||
$i++;
|
||||
++$i;
|
||||
|
||||
$numMatches = 0;
|
||||
$ofs = 0;
|
||||
|
Reference in New Issue
Block a user