@@ -177,12 +177,12 @@ or you decided not to maintain it anymore), you can deprecate its definition:
177
177
alias : ' @App\Mail\PhpMailer'
178
178
179
179
# this outputs the following generic deprecation message:
180
- # Since acme/package 1.2: The "app.mailer" service is deprecated. You should stop using it, as it will be removed in the future
180
+ # Since acme/package 1.2: The "app.mailer" service alias is deprecated. You should stop using it, as it will be removed in the future
181
181
deprecated :
182
182
package : ' acme/package'
183
183
version : ' 1.2'
184
184
185
- # you can also define a custom deprecation message (%sevice_id%/% alias_id% placeholder is available)
185
+ # you can also define a custom deprecation message (%alias_id% placeholder is available)
186
186
deprecated :
187
187
package : ' acme/package'
188
188
version : ' 1.2'
@@ -198,10 +198,10 @@ or you decided not to maintain it anymore), you can deprecate its definition:
198
198
<services >
199
199
<service id =" app.mailer" alias =" App\Mail\PhpMailer" >
200
200
<!-- this outputs the following generic deprecation message:
201
- Since acme/package 1.2: The "app.mailer" service is deprecated. You should stop using it, as it will be removed in the future -->
201
+ Since acme/package 1.2: The "app.mailer" service alias is deprecated. You should stop using it, as it will be removed in the future -->
202
202
<deprecated package =" acme/package" version =" 1.2" />
203
203
204
- <!-- you can also define a custom deprecation message (%sevice_id%/% alias_id% placeholder is available) -->
204
+ <!-- you can also define a custom deprecation message (%alias_id% placeholder is available) -->
205
205
<deprecated package =" acme/package" version =" 1.2" >
206
206
The "%alias_id%" service alias is deprecated. Don't use it anymore.
207
207
</deprecated >
@@ -215,10 +215,10 @@ or you decided not to maintain it anymore), you can deprecate its definition:
215
215
->setAlias('app.mailer', 'App\Mail\PhpMailer')
216
216
217
217
// this outputs the following generic deprecation message:
218
- // Since acme/package 1.2: The "app.mailer" service is deprecated. You should stop using it, as it will be removed in the future
218
+ // Since acme/package 1.2: The "app.mailer" service alias is deprecated. You should stop using it, as it will be removed in the future
219
219
->setDeprecated('acme/package', '1.2')
220
220
221
- // you can also define a custom deprecation message (%sevice_id%/% alias_id% placeholder is available)
221
+ // you can also define a custom deprecation message (%alias_id% placeholder is available)
222
222
->setDeprecated(
223
223
'acme/package',
224
224
'1.2',
0 commit comments