issues
search
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
(Re)naming is hard, internal naming cleanup
#195
Closed
spaze
closed
1 year ago
spaze
commented
1 year ago
Move
Allowed*
to own namespace
Rename
Param
classes because params are also used for attributes now, not just calls
Rename tests that are testing classes that were renamed some time ago
One of the tests will now (hopefully temprarily) be executed only when
str_starts_with()
is available (i.e. on PHP 8+)
https://github.com/phpstan/phpstan/issues/9300
Allowed*
to own namespaceParam
classes because params are also used for attributes now, not just callsstr_starts_with()
is available (i.e. on PHP 8+) https://github.com/phpstan/phpstan/issues/9300