phpstan-deprecation-rules icon indicating copy to clipboard operation
phpstan-deprecation-rules copied to clipboard

Deprecated internal PHP properties and constants

Open ondrejmirtes opened this issue 2 years ago • 1 comments

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().

ondrejmirtes avatar Oct 11 '21 15:10 ondrejmirtes