[Console] Fix Symfony coding standards violations

This commit is contained in:
Michaël Perrin 2015-07-28 14:45:38 +02:00 committed by Michaël Perrin
parent 8b63d6209d
commit 05348991c2

View File

@ -77,7 +77,7 @@ class QuestionHelper extends Helper
}
/**
* Returns the helper's input stream
* Returns the helper's input stream.
*
* @return resource
*/
@ -146,7 +146,7 @@ class QuestionHelper extends Helper
* Outputs the question prompt.
*
* @param OutputInterface $output
* @param Question $question
* @param Question $question
*/
protected function writePrompt(OutputInterface $output, Question $question)
{
@ -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;