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

No tests for `disallowedAttributes` #239

Closed ruudk closed 9 months ago

ruudk commented 9 months ago

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

ruudk commented 9 months ago

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

spaze commented 9 months ago

Yeah, tested in these tests: