Skip to content

Change how superglobals are detected

Choose a tag to compare

@spaze spaze released this 20 Apr 14:53
9193052

2.3.0 has added a way to detect and disallow superglobal usage, this release changes the way the detection works: now there's a list of all superglobals PHP offers and you can disallow any of them. No changes necessary in your config, this is an internal change to allow for memory optimization in upcoming versions of PHPStan.