Detect banned code through PHPStan
Why do you think that https://github.com/spaze/phpstan-disallowed-calls is a good alternative to phpstan-banned-code
Detect banned code through PHPStan
Why do you think that https://github.com/spaze/phpstan-disallowed-calls is a good alternative to phpstan-banned-code