Skip to content

Commit 2aedef0

Browse files
Merge branch '2.8' into 3.1
* 2.8: CS fixes Remove trailing space CS: apply rules [Yaml] Clean some messages + add test case [Console] simplified code [Form] Fix UrlType transforms valid protocols [SecurityBundle] Changed encoder configuration example to bcrypt
2 parents 5f62bd1 + f359835 commit 2aedef0

20 files changed

+21
-20
lines changed

Command/ConfigDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function configure()
3636
new InputArgument('name', InputArgument::OPTIONAL, 'The bundle name or the extension alias'),
3737
))
3838
->setDescription('Dumps the current configuration for an extension')
39-
->setHelp(<<<EOF
39+
->setHelp(<<<'EOF'
4040
The <info>%command.name%</info> command dumps the current configuration for an
4141
extension/bundle.
4242

Command/EventDispatcherDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function configure()
3939
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw description'),
4040
))
4141
->setDescription('Displays configured listeners for an application')
42-
->setHelp(<<<EOF
42+
->setHelp(<<<'EOF'
4343
The <info>%command.name%</info> command displays all configured listeners:
4444
4545
<info>php %command.full_name%</info>

Command/ServerStartCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function configure()
4141
))
4242
->setName('server:start')
4343
->setDescription('Starts PHP built-in web server in the background')
44-
->setHelp(<<<EOF
44+
->setHelp(<<<'EOF'
4545
The <info>%command.name%</info> runs PHP's built-in web server:
4646
4747
<info>php %command.full_name%</info>

Command/ServerStopCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected function configure()
3636
))
3737
->setName('server:stop')
3838
->setDescription('Stops PHP\'s built-in web server that was started with the server:start command')
39-
->setHelp(<<<EOF
39+
->setHelp(<<<'EOF'
4040
The <info>%command.name%</info> stops PHP's built-in web server:
4141
4242
<info>php %command.full_name%</info>

Command/TranslationDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function configure()
5050
new InputOption('all', null, InputOption::VALUE_NONE, 'Load messages from all registered bundles'),
5151
))
5252
->setDescription('Displays translation messages information')
53-
->setHelp(<<<EOF
53+
->setHelp(<<<'EOF'
5454
The <info>%command.name%</info> command helps finding unused or missing translation
5555
messages and comparing them with the fallback ones by inspecting the
5656
templates and translation files of a given bundle or the app folder.

Command/YamlLintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function configure()
3434
->setDescription('Lints a file and outputs encountered errors')
3535
->addArgument('filename', null, 'A file or a directory or STDIN')
3636
->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format', 'txt')
37-
->setHelp(<<<EOF
37+
->setHelp(<<<'EOF'
3838
The <info>%command.name%</info> command lints a YAML file and outputs to STDOUT
3939
the first encountered syntax error.
4040
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php echo $view['form']->block($form, 'form_widget_simple', array('type' => isset($type) ? $type : 'text')) ?>
1+
<?php echo $view['form']->block($form, 'form_widget_simple', array('type' => isset($type) ? $type : 'text')) ?>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php echo $view['form']->block($form, 'form_widget_simple', array('type' => isset($type) ? $type : 'password')) ?>
1+
<?php echo $view['form']->block($form, 'form_widget_simple', array('type' => isset($type) ? $type : 'password')) ?>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php echo $view['form']->block($form, 'form_widget_simple', array('type' => isset($type) ? $type : 'text')) ?> %
1+
<?php echo $view['form']->block($form, 'form_widget_simple', array('type' => isset($type) ? $type : 'text')) ?> %
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php echo $view['form']->block($form, 'button_widget', array('type' => isset($type) ? $type : 'reset')) ?>
1+
<?php echo $view['form']->block($form, 'button_widget', array('type' => isset($type) ? $type : 'reset')) ?>

0 commit comments

Comments
 (0)