From 75cfbc976ecfbca289c056f119ec09bf2b5f31f4 Mon Sep 17 00:00:00 2001 From: Fabien Villepinte Date: Wed, 7 Dec 2022 17:02:07 +0100 Subject: [PATCH] Add `deprecationRulesInstalled` configuration It indicates whether phpstan-deprecation-rules is installed --- conf/config.neon | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/config.neon b/conf/config.neon index 56b7965763..23e9c14867 100644 --- a/conf/config.neon +++ b/conf/config.neon @@ -86,6 +86,7 @@ parameters: checkTooWideReturnTypesInProtectedAndPublicMethods: false checkUninitializedProperties: false checkDynamicProperties: false + deprecationRulesInstalled: false inferPrivatePropertyTypeFromConstructor: false reportMaybes: false reportMaybesInMethodSignatures: false @@ -303,6 +304,7 @@ parametersSchema: checkTooWideReturnTypesInProtectedAndPublicMethods: bool() checkUninitializedProperties: bool() checkDynamicProperties: bool() + deprecationRulesInstalled: bool() inferPrivatePropertyTypeFromConstructor: bool() tipsOfTheDay: bool()