10000 [Yaml] deprecate the !str tag · Issue #8173 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Yaml] deprecate the !str tag #8173

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

Closed
javiereguiluz opened this issue Jul 16, 2017 · 0 comments
Closed

[Yaml] deprecate the !str tag #8173

javiereguiluz opened this issue Jul 16, 2017 · 0 comments
Labels
bug good first issue Ideal for your first contribution! (some Symfony experience may be required) hasPR A Pull Request has already been submitted for this issue. Status: Needs Review Yaml
Milestone

Comments

@javiereguiluz
Copy link
Member

Support for the !str tag is deprecated, use the !!str tag instead.

See symfony/symfony#23288

@javiereguiluz javiereguiluz added bug good first issue Ideal for your first contribution! (some Symfony experience may be required) Yaml labels Jul 16, 2017
@javiereguiluz javiereguiluz added this to the 3.4 milestone Jul 16, 2017
@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label Jul 20, 2017
xabbuh added a commit that referenced this issue Aug 1, 2017
…uiluz)

This PR was squashed before being merged into the 2.7 branch (closes #8200).

Discussion
----------

Explained the explicit typing in YAML documents

I was going to fix #8173 but I couldn't find the explicit typing explanation anywhere, so I include it here.

-----

When merging this into 3.4, the `!str` tag must be changed by `!!tag` and we must add this:

```
.. versionadded:: 3.4
    The support of ``!!str`` tag was introduced in Symfony 3.4. In previous
    versions you needed to use the ``!str`` tag.
```

Commits
-------

aa1b968 Explained the explicit typing in YAML documents
@xabbuh xabbuh closed this as completed Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue Ideal for your first contribution! (some Symfony experience may be required) hasPR A Pull Request has already been submitted for this issue. Status: Needs Review Yaml
Projects
None yet
Development

No branches or pull requests

3 participants
0