Commit 127ac0e
committed
minor #15137 [DependencyInjection] Fixed invalid alias definition in "Deprecating Service Aliases" YAML example (adamwojs)
This PR was submitted for the 5.2 branch but it was merged into the 4.4 branch instead.
Discussion
----------
[DependencyInjection] Fixed invalid alias definition in "Deprecating Service Aliases" YAML example
Fixed invalid alias definition in "Deprecating Service Aliases" YAML example. Current version is
```yaml
app.mailer:
alias: '@app\Mail\PhpMailer'
# ....
```
Correct version is
```yaml
app.mailer:
alias: 'App\Mail\PhpMailer'
# ....
```
(without `@` prefix in service id)
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `5.x` for features of unreleased versions).
-->
Commits
-------
3938dbd Fixed invalid alias definition in "Deprecating Service Aliases" YAML example1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments