Postponed
Project:
Drupal core
Version:
main
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2019 at 09:11 UTC
Updated:
18 Dec 2020 at 05:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
spokjeSlight case of OCD +
grep "[^\]Drupal::" -rl= attached patchComment #3
spokje#2 + big sigh = D8.7 patch
Comment #4
spokjeComment #5
spokjeComment #7
spokjeComment #8
spokjeComment #9
spokjeComment #11
andypostre-roll for 9.1
Comment #12
daffie commentedAll the changes in this patch look good.
When I do a code base regex search for
(?<!\\)Drupal::, I cannot find any more occurrences.There is no PHPCS rule with this patch.
For me it is RTBC (only for the 9.1 patch, the 9.0 needs a reroll).
Comment #13
spokjeRerolled for D9.0
Comment #14
xjmThanks for working on this!
This shouldn't be included in the patch. #11 is probably good for 9.1 though, so hiding #13.
However, before we fix this, we should add a phpcs rule for it. There might be an issue already -- if not, let's file one?
Comment #16
quietone commentedThere are several issues about the inconsistent use of the lead \ for class names. Adding this to the new meta for all such issues.
the other issues are postponed on a PHPCS rule. Should this issue be postponed as well?
Comment #17
spokjeYes, it is.
However, before we fix this, we should add a phpcs rule for it. There might be an issue already -- if not, let's file one?xjm in #14
Comment #18
spokjeAdded related issue on which this is postponed