8000 Fix code style by fabbot.io · symfony/symfony@ee637c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee637c8

Browse files
committed
Fix code style by fabbot.io
1 parent 21c5a8b commit ee637c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Component/Console/Helper/QuestionHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ protected function writePrompt(OutputInterface $output, Question $question)
204204

205205
$message = $question->getPrompt();
206206
}
207+
207208
$output->write($message);
208209
}
209210

210211
/**
211212
* @param string $tag
212-
* @param ChoiceQuestion $question
213213
*
214214
* @return string[]
215215
*/

src/Symfony/Component/Console/Tests/Helper/SymfonyQuestionHelperTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
namespace Symfony\Component\Console\Tests\Helper;
44

5+
use Symfony\Component\Console\Formatter\OutputFormatter;
56
use Symfony\Component\Console\Helper\FormatterHelper;
67
use Symfony\Component\Console\Helper\HelperSet;
78
use Symfony\Component\Console\Helper\SymfonyQuestionHelper;
89
use Symfony\Component\Console\Output\StreamOutput;
910
use Symfony\Component\Console\Question\ChoiceQuestion;
1011
use Symfony\Component\Console\Question\Question;
11-
use Symfony\Component\Console\Formatter\OutputFormatter;
1212

1313
/**
1414
* @group tty
@@ -140,14 +140,14 @@ public function testForUtf8Keys()
140140
$input = $this->createStreamableInputInterfaceMock($this->getInputStream('foo'));
141141
$result = [];
142142
$output->method('writeln')->willReturnCallback(function ($params) use (&$result) {
143-
if (is_array($params)) {
143+
if (\is_array($params)) {
144144
$result = array_merge($result, $params);
145145
} else {
146146
$result[] = $params;
147147
}
148148
});
149149
$dialog->ask($input, $output, $question);
150-
$this->assertEquals(array_merge([$question_result],$outputShown), $result);
150+
$this->assertEquals(array_merge([$question_result], $outputShown), $result);
151151
}
152152

153153
public function testAskDefaultPrompt()

0 commit comments

Comments
 (0)
0