Skip to content

Commit acbf35e

Browse files
committed
minor #34574 [FrameworkBundle] fix leftover mentioning "secret:" processor (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] fix leftover mentioning "secret:" processor | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- f46f3db058 [FrameworkBundle] fix leftover mentioning "secret:" processor
2 parents e9c7212 + fd05f86 commit acbf35e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CHANGELOG
1818
* Added new `error_controller` configuration to handle system exceptions
1919
* Added sort option for `translation:update` command.
2020
* [BC Break] The `framework.messenger.routing.senders` config key is not deeply merged anymore.
21-
* Added `secrets:*` commands and `%env(secret:...)%` processor to deal with secrets seamlessly.
21+
* Added `secrets:*` commands to deal with secrets seamlessly.
2222
* Made `framework.session.handler_id` accept a DSN
2323
* Marked the `RouterDataCollector` class as `@final`.
2424
* [BC Break] The `framework.messenger.buses.<name>.middleware` config key is not deeply merged anymore.

Command/SecretsListCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
6464
{
6565
$io = new SymfonyStyle($input, $output instanceof ConsoleOutputInterface ? $output->getErrorOutput() : $output);
6666

67-
$io->comment('Use <info>"%env(secret:<name>)%"</info> to reference a secret in a config file.');
67+
$io->comment('Use <info>"%env(<name>)%"</info> to reference a secret in a config file.');
6868

6969
if (!$reveal = $input->getOption('reveal')) {
7070
$io->comment(sprintf('To reveal the secrets run <info>php %s %s --reveal</info>', $_SERVER['PHP_SELF'], $this->getName()));

Command/SecretsSetCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function configure()
5656
<info>%command.full_name% <name></info>
5757
5858
To reference secrets in services.yaml or any other config
59-
files, use <info>"%env(secret:<name>)%"</info>.
59+
files, use <info>"%env(<name>)%"</info>.
6060
6161
By default, the secret value should be entered interactively.
6262
Alternatively, provide a file where to read the secret from:

0 commit comments

Comments
 (0)