Interface PHPStan\Classes\ForbiddenClassNameExtension

This is the extension interface to implement if you want to dynamically add forbidden class prefixes to the ClassForbiddenNameCheck rule.

The idea is that you want to report usages of classes that you're not supposed to use in application. For example: Generated Doctrine proxies from their configured namespace.

To register it in the configuration file use the phpstan.forbiddenClassNamesExtension service tag:

		class: App\PHPStan\MyExtension
			- phpstan.forbiddenClassNamesExtension