Skip to content

Commit d5c46dc

Browse files
minor #61373 chore: PHP CS Fixer - heredoc indentation as of PHP 7.3 (keradus)
This PR was merged into the 7.4 branch. Discussion ---------- chore: PHP CS Fixer - heredoc indentation as of PHP 7.3 | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix CS <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT inspired by symfony/symfony@06e22b0#r2265021821 [Possible since PHP 7.3](https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc) with love by [PHP Coding Standards Fixer](https://cs.symfony.com/) Commits ------- 4a25a6a5785 chore: heredoc indentation as of PHP 7.3
2 parents af1f2fd + be639de commit d5c46dc

34 files changed

+265
-265
lines changed

Command/AboutCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ protected function configure(): void
3636
{
3737
$this
3838
->setHelp(<<<'EOT'
39-
The <info>%command.name%</info> command displays information about the current Symfony project.
39+
The <info>%command.name%</info> command displays information about the current Symfony project.
4040
41-
The <info>PHP</info> section displays important configuration that could affect your application. The values might
42-
be different between web and CLI.
43-
EOT
41+
The <info>PHP</info> section displays important configuration that could affect your application. The values might
42+
be different between web and CLI.
43+
EOT
4444
)
4545
;
4646
}

Command/AssetsInstallCommand.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,24 @@ protected function configure(): void
5757
->addOption('relative', null, InputOption::VALUE_NONE, 'Make relative symlinks')
5858
->addOption('no-cleanup', null, InputOption::VALUE_NONE, 'Do not remove the assets of the bundles that no longer exist')
5959
->setHelp(<<<'EOT'
60-
The <info>%command.name%</info> command installs bundle assets into a given
61-
directory (e.g. the <comment>public</comment> directory).
60+
The <info>%command.name%</info> command installs bundle assets into a given
61+
directory (e.g. the <comment>public</comment> directory).
6262
63-
<info>php %command.full_name% public</info>
63+
<info>php %command.full_name% public</info>
6464
65-
A "bundles" directory will be created inside the target directory and the
66-
"Resources/public" directory of each bundle will be copied into it.
65+
A "bundles" directory will be created inside the target directory and the
66+
"Resources/public" directory of each bundle will be copied into it.
6767
68-
To create a symlink to each bundle instead of copying its assets, use the
69-
<info>--symlink</info> option (will fall back to hard copies when symbolic links aren't possible:
68+
To create a symlink to each bundle instead of copying its assets, use the
69+
<info>--symlink</info> option (will fall back to hard copies when symbolic links aren't possible:
7070
71-
<info>php %command.full_name% public --symlink</info>
71+
<info>php %command.full_name% public --symlink</info>
7272
73-
To make symlink relative, add the <info>--relative</info> option:
73+
To make symlink relative, add the <info>--relative</info> option:
7474
75-
<info>php %command.full_name% public --symlink --relative</info>
75+
<info>php %command.full_name% public --symlink --relative</info>
7676

77-
EOT
77+
EOT
7878
)
7979
;
8080
}

Command/CacheClearCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ protected function configure(): void
5656
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
5757
])
5858
->setHelp(<<<'EOF'
59-
The <info>%command.name%</info> command clears and warms up the application cache for a given environment
60-
and debug mode:
59+
The <info>%command.name%</info> command clears and warms up the application cache for a given environment
60+
and debug mode:
6161
62-
<info>php %command.full_name% --env=dev</info>
63-
<info>php %command.full_name% --env=prod --no-debug</info>
64-
EOF
62+
<info>php %command.full_name% --env=dev</info>
63+
<info>php %command.full_name% --env=prod --no-debug</info>
64+
EOF
6565
)
6666
;
6767
}

Command/CachePoolClearCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ protected function configure(): void
5151
->addOption('all', null, InputOption::VALUE_NONE, 'Clear all cache pools')
5252
->addOption('exclude', null, InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'A list of cache pools or cache pool clearers to exclude')
5353
->setHelp(<<<'EOF'
54-
The <info>%command.name%</info> command clears the given cache pools or cache pool clearers.
54+
The <info>%command.name%</info> command clears the given cache pools or cache pool clearers.
5555
56-
%command.full_name% <cache pool or clearer 1> [...<cache pool or clearer N>]
57-
EOF
56+
%command.full_name% <cache pool or clearer 1> [...<cache pool or clearer N>]
57+
EOF
5858
)
5959
;
6060
}

Command/CachePoolDeleteCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ protected function configure(): void
4747
new InputArgument('key', InputArgument::REQUIRED, 'The cache key to delete from the pool'),
4848
])
4949
->setHelp(<<<'EOF'
50-
The <info>%command.name%</info> deletes an item from a given cache pool.
50+
The <info>%command.name%</info> deletes an item from a given cache pool.
5151
52-
%command.full_name% <pool> <key>
53-
EOF
52+
%command.full_name% <pool> <key>
53+
EOF
5454
)
5555
;
5656
}

Command/CachePoolListCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ protected function configure(): void
3838
{
3939
$this
4040
->setHelp(<<<'EOF'
41-
The <info>%command.name%</info> command lists all available cache pools.
42-
EOF
41+
The <info>%command.name%</info> command lists all available cache pools.
42+
EOF
4343
)
4444
;
4545
}

Command/CachePoolPruneCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ protected function configure(): void
3939
{
4040
$this
4141
->setHelp(<<<'EOF'
42-
The <info>%command.name%</info> command deletes all expired items from all pruneable pools.
42+
The <info>%command.name%</info> command deletes all expired items from all pruneable pools.
4343
44-
%command.full_name%
45-
EOF
44+
%command.full_name%
45+
EOF
4646
)
4747
;
4848
}

Command/CacheWarmupCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ protected function configure(): void
4444
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
4545
])
4646
->setHelp(<<<'EOF'
47-
The <info>%command.name%</info> command warms up the cache.
47+
The <info>%command.name%</info> command warms up the cache.
4848
49-
Before running this command, the cache must be empty.
49+
Before running this command, the cache must be empty.
5050

51-
EOF
51+
EOF
5252
)
5353
;
5454
}

Command/ConfigDebugCommand.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ protected function configure(): void
4949
new InputOption('format', null, InputOption::VALUE_REQUIRED, \sprintf('The output format ("%s")', implode('", "', $this->getAvailableFormatOptions())), class_exists(Yaml::class) ? 'txt' : 'json'),
5050
])
5151
->setHelp(<<<EOF
52-
The <info>%command.name%</info> command dumps the current configuration for an
53-
extension/bundle.
52+
The <info>%command.name%</info> command dumps the current configuration for an
53+
extension/bundle.
5454
55-
Either the extension alias or bundle name can be used:
55+
Either the extension alias or bundle name can be used:
5656
57-
<info>php %command.full_name% framework</info>
58-
<info>php %command.full_name% FrameworkBundle</info>
57+
<info>php %command.full_name% framework</info>
58+
<info>php %command.full_name% FrameworkBundle</info>
5959
60-
The <info>--format</info> option specifies the format of the command output:
60+
The <info>--format</info> option specifies the format of the command output:
6161
62-
<info>php %command.full_name% framework --format=json</info>
62+
<info>php %command.full_name% framework --format=json</info>
6363
64-
For dumping a specific option, add its path as second argument:
64+
For dumping a specific option, add its path as second argument:
6565
66-
<info>php %command.full_name% framework serializer.enabled</info>
66+
<info>php %command.full_name% framework serializer.enabled</info>
6767
68-
EOF
68+
EOF
6969
)
7070
;
7171
}

Command/ConfigDumpReferenceCommand.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,23 @@ protected function configure(): void
4747
new InputOption('format', null, InputOption::VALUE_REQUIRED, \sprintf('The output format ("%s")', implode('", "', $this->getAvailableFormatOptions())), 'yaml'),
4848
])
4949
->setHelp(<<<EOF
50-
The <info>%command.name%</info> command dumps the default configuration for an
51-
extension/bundle.
50+
The <info>%command.name%</info> command dumps the default configuration for an
51+
extension/bundle.
5252
53-
Either the extension alias or bundle name can be used:
53+
Either the extension alias or bundle name can be used:
5454
55-
<info>php %command.full_name% framework</info>
56-
<info>php %command.full_name% FrameworkBundle</info>
55+
<info>php %command.full_name% framework</info>
56+
<info>php %command.full_name% FrameworkBundle</info>
5757
58-
The <info>--format</info> option specifies the format of the command output:
58+
The <info>--format</info> option specifies the format of the command output:
5959
60-
<info>php %command.full_name% FrameworkBundle --format=json</info>
60+
<info>php %command.full_name% FrameworkBundle --format=json</info>
6161
62-
For dumping a specific option, add its path as second argument (only available for the yaml format):
62+
For dumping a specific option, add its path as second argument (only available for the yaml format):
6363
64-
<info>php %command.full_name% framework http_client.default_options</info>
64+
<info>php %command.full_name% framework http_client.default_options</info>
6565
66-
EOF
66+
EOF
6767
)
6868
;
6969
}

0 commit comments

Comments
 (0)