Skip to content

Commit 7e13ebb

Browse files
committed
use nowdoc instead of heredoc
1 parent 7adb27a commit 7e13ebb

11 files changed

+13
-13
lines changed

Command/AssetsInstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function configure()
3737
->addOption('symlink', null, InputOption::VALUE_NONE, 'Symlinks the assets instead of copying it')
3838
->addOption('relative', null, InputOption::VALUE_NONE, 'Make relative symlinks')
3939
->setDescription('Installs bundles web assets under a public web directory')
40-
->setHelp(<<<EOT
40+
->setHelp(<<<'EOT'
4141
The <info>%command.name%</info> command installs bundle assets into a given
4242
directory (e.g. the <comment>web</comment> directory).
4343

Command/CacheClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function configure()
3737
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
3838
))
3939
->setDescription('Clears the cache')
40-
->setHelp(<<<EOF
40+
->setHelp(<<<'EOF'
4141
The <info>%command.name%</info> command clears the application cache for a given environment
4242
and debug mode:
4343

Command/CacheWarmupCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected function configure()
3333
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
3434
))
3535
->setDescription('Warms up an empty cache')
36-
->setHelp(<<<EOF
36+
->setHelp(<<<'EOF'
3737
The <info>%command.name%</info> command warms up the cache.
3838
3939
Before running this command, the cache must be empty.

Command/ConfigDumpReferenceCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function configure()
3535
new InputArgument('name', InputArgument::OPTIONAL, 'The Bundle or extension alias'),
3636
))
3737
->setDescription('Dumps default configuration for an extension')
38-
->setHelp(<<<EOF
38+
->setHelp(<<<'EOF'
3939
The <info>%command.name%</info> command dumps the default configuration for an extension/bundle.
4040
4141
The extension alias or bundle name can be used:

Command/ContainerDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected function configure()
4949
new InputOption('parameters', null, InputOption::VALUE_NONE, 'Displays parameters for an application'),
5050
))
5151
->setDescription('Displays current services for an application')
52-
->setHelp(<<<EOF
52+
->setHelp(<<<'EOF'
5353
The <info>%command.name%</info> command displays all configured <comment>public</comment> services:
5454
5555
<info>php %command.full_name%</info>

Command/RouterApacheDumperCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function configure()
5353
new InputOption('base-uri', null, InputOption::VALUE_REQUIRED, 'The base URI'),
5454
))
5555
->setDescription('Dumps all routes as Apache rewrite rules')
56-
->setHelp(<<<EOF
56+
->setHelp(<<<'EOF'
5757
The <info>%command.name%</info> dumps all routes as Apache rewrite rules.
5858
These can then be used with the ApacheUrlMatcher to use Apache for route
5959
matching.

Command/RouterDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function configure()
5151
new InputArgument('name', InputArgument::OPTIONAL, 'A route name'),
5252
))
5353
->setDescription('Displays current routes for an application')
54-
->setHelp(<<<EOF
54+
->setHelp(<<<'EOF'
5555
The <info>%command.name%</info> displays the configured routes:
5656
5757
<info>php %command.full_name%</info>

Command/RouterMatchCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function configure()
5252
new InputArgument('path_info', InputArgument::REQUIRED, 'A path info'),
5353
))
5454
->setDescription('Helps debug routes by simulating a path info match')
55-
->setHelp(<<<EOF
55+
->setHelp(<<<'EOF'
5656
The <info>%command.name%</info> simulates a path info match:
5757
5858
<info>php %command.full_name% /foo</info>

Command/ServerRunCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function configure()
5454
))
5555
->setName('server:run')
5656
->setDescription('Runs PHP built-in web server')
57-
->setHelp(<<<EOF
57+
->setHelp(<<<'EOF'
5858
The <info>%command.name%</info> runs PHP built-in web server:
5959
6060
<info>%command.full_name%</info>

Command/TranslationUpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function configure()
4343
new InputOption('clean', null, InputOption::VALUE_NONE, 'Should clean not found messages'),
4444
))
4545
->setDescription('Updates the translation file')
46-
->setHelp(<<<EOF
46+
->setHelp(<<<'EOF'
4747
The <info>%command.name%</info> command extract translation strings from templates
4848
of a given bundle. It can display them or merge the new ones into the translation files.
4949
When new translation strings are found it can automatically add a prefix to the translation

0 commit comments

Comments
 (0)