From 26a7f0b2b50465c1800cca3098f6cfeb7f00ec5e Mon Sep 17 00:00:00 2001 From: Jan Nedbal Date: Mon, 14 Apr 2025 13:15:11 +0200 Subject: [PATCH] Readme: mention custom deprecation attribute --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 5967702..9085e36 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,10 @@ In case you don't own the code which you want to be considered deprecated, use [ class ThirdPartyClass {} ``` +## Custom deprecation markers + +You can implement extensions to support even e.g. custom `#[MyDeprecated]` attribute. [Learn more](https://phpstan.org/developing-extensions/custom-deprecations). + ## Custom deprecated scopes