PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages
255
stars
17
forks
source link
Child constructor should be disallowed when parent constructor is disallowed #146
Closed
spaze closed 1 year ago
Given code like this (this is a code from a test actually):
and configuration (from a test as well, so no neon syntax) like:
the call is not reported.
The call is reported if I change the configuration to