Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2020 at 19:21 UTC
Updated:
6 Aug 2022 at 06:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
xjmThanks for filing this!
Only bug fixes and allowed changes during the beta phase should be filed against 9.0.x. New features, API additions, and deprecations should be filed against 9.1.x.
So, moving to the 9.1.x-dev branch.
Comment #4
hugovk commentedI've attached a patch to add syntax highlighting for GitHub.
Comment #6
raman.b commentedComment #7
dawehnerI've done the same change recently on one my my projects and it's quite nice to have this available.
On the patch: I believe this needs some work, as the scaffold file isn't changed, see https://git.drupalcode.org/project/drupal/-/blob/9.2.x/core/assets/scaff... and as such this would not end up on actual sites.
Comment #10
jdleonardI believe the comment in #7 was referring to an old version of the patch. The patch in #6 appears to affect the scaffold file as expected.
Comment #11
quietone commentedBack to NW for a working patch on 9.4.x.
Comment #12
spokjePatch #6 seems still valid on
9.4..x-devComment #14
longwaveRTBC, this works great. Patch can't be applied to projects using recommended project template and composer-patches as .gitattributes is scaffolded into a different location, but it works well when the change is applied manually.
Comment #15
alexpottCommitted and pushed f42a2f544e to 10.1.x and ff2599d23d to 10.0.x and 2ee35e2352 to 9.5.x. Thanks!