brandembassy/phpstan-forbidden-method-calls-rule (packagist): Rule for PHPStan that enables you to forbid some methods from being called.
Keywords: phpstan|phpstan-rules