spaze / phpstan-disallowed-calls

PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages
MIT License
255 stars 17 forks source link

`disallowedConstants`' `constant` field is always present #245

Closed spaze closed 9 months ago

spaze commented 9 months ago

The class won't be for non-class constants.