{"id":87846,"library":"spaze-phpstan-disallowed-calls","title":"PHPStan Disallowed Calls","description":"PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, property & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.","status":"active","version":"4.12.0","language":"php","source_language":null,"source_url":"https://github.com/spaze/phpstan-disallowed-calls","tags":["phpstan","static-analysis","security","code-quality","linting"],"install":[{"cmd":"composer require spaze/phpstan-disallowed-calls","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"DisallowedHelper","correct":"use Spaze\\PHPStan\\Rules\\Disallowed\\DisallowedHelper;"}],"quickstart":{"code":"use Spaze\\PHPStan\\Rules\\Disallowed\\DisallowedHelper;\n\n$helper = new DisallowedHelper();\n// Configure and use with PHPStan","lang":"php","description":"Basic usage of the disallowed calls helper class"},"warnings":[],"env_vars":null,"search_vec":"'allow':24,36 'analysi':40 'attribut':14 'call':3,11,26 'code':43 'code-qu':42 'constant':12 'detect':7 'disallow':2,8 'function':10 'lint':45 'method':9 'namespac':13 'phpstan':1,4,37 'place':31 'power':19 'properti':15 'qualiti':44 're':23 're-allow':22 'rule':5,20 'secur':41 'static':39 'static-analysi':38 'superglob':16 'usag':17,29","created_at":"2026-06-19T08:23:45.749219+00:00","updated_at":"2026-06-19T08:23:45.749219+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/spaze/phpstan-disallowed-calls","github":"https://github.com/spaze/phpstan-disallowed-calls","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}