Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Mar 2016 at 21:53 UTC
Updated:
5 Apr 2016 at 18:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
luukyb commentedI tried to scan core (only yaml files inside core/) today and I could not find any YAML deprecations from http://symfony.com/blog/new-in-symfony-2-8-yaml-deprecations
Comment #4
imrancluster commented@Luukyb
Me too :)
Comment #5
dawehnerAt least the case
should be triggered by
@neclimdul's YML testing.Comment #6
lokapujyacore/modules/system/tests/modules/theme_test/theme_test.services.yml
You must have noticed this one. Do the arguments in this file purposely not have quotes?
Comment #7
dawehner@lokapujya You are right! Feel free to upload a patch.
Comment #8
lokapujyaArguments with certain leading special characters need quotes. Even though this is in a test.
Comment #9
thhafner commentedLooks good to me.
Comment #10
dawehnerI just did a grep and this seemed to be the only place in core with that combination
Comment #11
johnrosswvsu commentedI can confirm that there are no other instances of arguments beginning with special characters in YML files. The patch is good on my end.
Comment #12
imrancluster commentedI have test again using my phpStorm editor. There is no deprecated syntax like this issue in core. The patch also worked perfectly for me.
Comment #13
alexpottCommitted 8023d8c and pushed to 8.0.x, 8.1.x and 8.2.x. Thanks!
Comment #17
neclimdulYou guys may be interested in the issue that triggered that change in Symfony and has tests that catch these sorts of invalid YAML in testbot. #1920902: Add a Drupal Yaml wrapper so we can default to PECL Yaml component if it is available
Comment #18
lokapujyaHow did this issue cause a conflict? and why if it's catching invalid YAML, why wasn't that issue failing?
NEVERMIND: I see that the previous patch has a similar fix for this same issue.
Comment #19
neclimdulYeah, exactly that. It was triggering errors which is why it had the same fix which conflicted. Sorry if it wasn't clear.