analyse/disallowed/superglobal
In the analyse-basic preset and every stricter one. Report only.
What it does
Reports uses of the superglobals the config forbids (disallowedSuperglobals).
Configuration
[analyse.rules]
"disallowed/superglobal" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
VariableUsages(phpstan-classes)disallowed.variable(phpstan-disallowed-calls)