Closed (duplicate)
Project:
Drupal core
Version:
8.9.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Feb 2017 at 13:06 UTC
Updated:
2 Dec 2021 at 07:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
slootjes commentedComment #3
chiranjeeb2410 commented@slootjes,
Changing to Needs Review.
Comment #4
chi commentedThis file is a verbatim copy of the of Symfony's YamlFileLoader. To keep it in sync we may file an issue against Symfony project first and wait until it gets committed.
Comment #5
slootjes commentedThis is fixed in Symfony a while ago so should be fixed in Drupal when upgrading the version of the component. Not sure why a verbatim copy is needed, why not use the original file to prevent confusion like this case?
Comment #6
chi commented@slootjes, it is documented on the class definition.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Dependenc...
Btw, we may consider adopting this suggestion.
Comment #7
slootjes commentedMakes sense, so then it's not actually a verbatim copy as someone said after all.
Comment #13
lendude@slootjes I'm going to close this as a duplicate of the more comprehensive issue you opened later #3111008: Use native Symfony YamlFileLoader, makes more sense to do it right in one go and not try to cherry pick the improvements made in Symfony. Obviously feel free to reopen this if you still think adding this makes sense.