You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #18761 [FrameworkBundle] Configuration : Fix !php/const syntax in yaml (ppelisset)
This PR was merged into the 5.4 branch.
Discussion
----------
[FrameworkBundle] Configuration : Fix !php/const syntax in yaml
Hello,
I would like to suggest a correction for the FrameworkBundle configuration documentation. In a configuration example, the Yaml syntax to use the value of a PHP constant as a key is incorrect. Indeed, in Symfony's Yaml parser source code, only unquoted scalars are evaluated. Therefore, the configuration key should not be enclosed in quotes for the example to work.
Please feel free to question me if you need any further information.
Commits
-------
4121f05 Fix !php/const syntax in yaml
0 commit comments