[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
|
* @return resource
|
||||||
*/
|
*/
|
||||||
@ -218,7 +218,7 @@ class QuestionHelper extends Helper
|
|||||||
// Backspace Character
|
// Backspace Character
|
||||||
if ("\177" === $c) {
|
if ("\177" === $c) {
|
||||||
if (0 === $numMatches && 0 !== $i) {
|
if (0 === $numMatches && 0 !== $i) {
|
||||||
$i--;
|
--$i;
|
||||||
// Move cursor backwards
|
// Move cursor backwards
|
||||||
$output->write("\033[1D");
|
$output->write("\033[1D");
|
||||||
}
|
}
|
||||||
@ -271,7 +271,7 @@ class QuestionHelper extends Helper
|
|||||||
} else {
|
} else {
|
||||||
$output->write($c);
|
$output->write($c);
|
||||||
$ret .= $c;
|
$ret .= $c;
|
||||||
$i++;
|
++$i;
|
||||||
|
|
||||||
$numMatches = 0;
|
$numMatches = 0;
|
||||||
$ofs = 0;
|
$ofs = 0;
|
||||||
|
Reference in New Issue
Block a user