Change superglobal usage detection to a reusable variable detection, with hard-coded list of superglobals. The idea is that maybe one day somebody would like to detect some other kind of variables or variables in general, so this can be reused, while adding only a factory class like DisallowedSuperglobalFactory and a new service to extension.neon.
Change superglobal usage detection to a reusable variable detection, with hard-coded list of superglobals. The idea is that maybe one day somebody would like to detect some other kind of variables or variables in general, so this can be reused, while adding only a factory class like
DisallowedSuperglobalFactory
and a new service toextension.neon
.Fix #108