Closed (fixed)
Project:
Coder
Version:
8.x-2.x-dev
Component:
Coder Sniffer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2017 at 12:31 UTC
Updated:
26 Mar 2019 at 19:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mfernea commentedHere is the patch.
Comment #3
mfernea commentedHere is the PR on github: https://github.com/pfrenssen/coder/pull/4.
Comment #4
pfrenssenI just grepped the codebase of both Drupal 7 and Drupal 8 for
global $configbut I didn't find any instances. Drupal 7 usesglobal $confand Drupal 8 usesglobal $config_directoriesbut both of these are already whitelisted.Which part of the Drupal ecosystem uses
global $config?Comment #5
mfernea commentedI'm not sure where it was used before, now I can only find it in globals.api.php.
Comment #6
mfernea commentedComment #7
pfrenssenGood point! I merged the PR into 8.x-3.x. Thanks for the contribution!