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

Skip to content

Commit 1f6444d

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Fix CS Fix CS
2 parents 58bbd10 + 5d5ae0b commit 1f6444d

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

Command/CompleteCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ protected function execute(InputInterface $input, OutputInterface $output): int
7878
{
7979
try {
8080
// uncomment when a bugfix or BC break has been introduced in the shell completion scripts
81-
//$version = $input->getOption('symfony');
82-
//if ($version && version_compare($version, 'x.y', '>=')) {
81+
// $version = $input->getOption('symfony');
82+
// if ($version && version_compare($version, 'x.y', '>=')) {
8383
// $message = sprintf('Completion script version is not supported ("%s" given, ">=x.y" required).', $version);
8484
// $this->log($message);
8585

8686
// $output->writeln($message.' Install the Symfony completion script again by using the "completion" command.');
8787

8888
// return 126;
89-
//}
89+
// }
9090

9191
$shell = $input->getOption('shell');
9292
if (!$shell) {

Helper/QuestionHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Symfony\Component\Console\Question\ChoiceQuestion;
2525
use Symfony\Component\Console\Question\Question;
2626
use Symfony\Component\Console\Terminal;
27+
2728
use function Symfony\Component\String\s;
2829

2930
/**

Tests/Formatter/OutputFormatterTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function testContentWithLineBreaks()
283283
<info>
284284
some text</info>
285285
EOF
286-
));
286+
));
287287

288288
$this->assertEquals(<<<EOF
289289
\033[32msome text
@@ -293,7 +293,7 @@ public function testContentWithLineBreaks()
293293
<info>some text
294294
</info>
295295
EOF
296-
));
296+
));
297297

298298
$this->assertEquals(<<<EOF
299299
\033[32m
@@ -305,7 +305,7 @@ public function testContentWithLineBreaks()
305305
some text
306306
</info>
307307
EOF
308-
));
308+
));
309309

310310
$this->assertEquals(<<<EOF
311311
\033[32m
@@ -319,7 +319,7 @@ public function testContentWithLineBreaks()
319319
more text
320320
</info>
321321
EOF
322-
));
322+
));
323323
}
324324

325325
public function testFormatAndWrap()

Tests/Helper/SymfonyQuestionHelperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function testChoiceQuestionPadding()
162162
[łabądź] baz
163163
>
164164
EOT
165-
, $output, true);
165+
, $output, true);
166166
}
167167

168168
public function testChoiceQuestionCustomPrompt()
@@ -181,7 +181,7 @@ public function testChoiceQuestionCustomPrompt()
181181
[0] foo
182182
>ccc>
183183
EOT
184-
, $output, true);
184+
, $output, true);
185185
}
186186

187187
protected function getInputStream($input)

0 commit comments

Comments
 (0)