phpstan-deprecation-rules
phpstan-deprecation-rules copied to clipboard
Deprecated internal PHP properties and constants
phpstorm-stubs sometimes mark properties and constants as deprecated, but PHP reflection doesn't have methods to surface that information. Fortunately BetterReflection can surface that, although we might have to check method_exists
before calling ->isDeprecated()
.