Skip to content

Commit c672a84

Browse files
committed
minor #13294 Remove references to the secret env processors (HypeMC)
This PR was merged into the 4.4 branch. Discussion ---------- Remove references to the secret env processors The `secret` environment variable processor was removed in symfony/symfony#34295, yet the examples in the docs still use it. The text in the docs seems to have been updated in 75e5ae6 & is ok, it's just these examples that are still wrong. Commits ------- eec5a43 Remove references to the secret env processors
2 parents 8976844 + eec5a43 commit c672a84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configuration/secrets.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ If you stored a ``DATABASE_PASSWORD`` secret, you can reference by:
115115
# config/packages/doctrine.yaml
116116
doctrine:
117117
dbal:
118-
password: '%env(secret:DATABASE_PASSWORD)%'
118+
password: '%env(DATABASE_PASSWORD)%'
119119
# ...
120120
# ...
121121
@@ -133,7 +133,7 @@ If you stored a ``DATABASE_PASSWORD`` secret, you can reference by:
133133
134134
<doctrine:config>
135135
<doctrine:dbal
136-
password="%env(secret:DATABASE_PASSWORD)%"
136+
password="%env(DATABASE_PASSWORD)%"
137137
/>
138138
</doctrine:config>
139139
@@ -144,7 +144,7 @@ If you stored a ``DATABASE_PASSWORD`` secret, you can reference by:
144144
// config/packages/doctrine.php
145145
$container->loadFromExtension('doctrine', [
146146
'dbal' => [
147-
'password' => '%env(secret:DATABASE_PASSWORD)%',
147+
'password' => '%env(DATABASE_PASSWORD)%',
148148
]
149149
]);
150150

0 commit comments

Comments
 (0)