Skip to content

[DependencyInjection] Fixed invalid alias definition in "Deprecating Service Aliases" YAML example #15137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2021

Conversation

adamwojs
Copy link
Contributor

Fixed invalid alias definition in "Deprecating Service Aliases" YAML example. Current version is

app.mailer:
    alias: '@App\Mail\PhpMailer'

    # ....

Correct version is

app.mailer:
    alias: 'App\Mail\PhpMailer'

    # ....

(without @ prefix in service id)

@carsonbot carsonbot changed the title Fixed invalid alias definition in "Deprecating Service Aliases" YAML example [DependencyInjection] Fixed invalid alias definition in "Deprecating Service Aliases" YAML example Mar 24, 2021
…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)
@javiereguiluz
Copy link
Member

Adam, thanks for this fix (we merged it in 4.4 and upper branches). Congrats on your first Symfony Docs contribution 🎉

@javiereguiluz javiereguiluz merged commit 127ac0e into symfony:4.4 Mar 24, 2021
@xabbuh xabbuh added this to the 4.4 milestone Mar 24, 2021
@adamwojs adamwojs deleted the patch-1 branch March 24, 2021 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants