Recently I’ve wanted to implement support for the @internal PHPDoc tag. The good news was there was already a similar set of rules in phpstan-deprecation-rules for the @deprecated tag.
‹ PHPStan fully supports PHP 8.5! PHPStan 2.1: Support For PHP 8.4's Property Hooks, and More! ›