analyse/deprecated/method
In the analyse-recommended preset and every stricter one. Report only.
Configuration
[analyse.rules]
"deprecated/method" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
RestrictedDeprecatedMethodUsageExtension(phpstan-classes)DeprecatedMethod(mago-analyzer)method.deprecated(phpstan-deprecation-rules)staticMethod.deprecated(phpstan-deprecation-rules)