spaze / phpstan-disallowed-calls

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

No tests for `disallowedAttributes` #239

Closed ruudk closed 10 months ago

ruudk commented 10 months ago

It seems that this is not tested, at all. Or am I missing something?

ruudk commented 10 months ago

Luckily, it is tested. It just doesn't use disallowedAttributes anywhere in the tests folder.

spaze commented 10 months ago

Yeah, tested in these tests: