From 0a991e34670c5955795a7224f9573c4a49c6a03c Mon Sep 17 00:00:00 2001 From: Bruce Weirdan Date: Mon, 3 Jan 2022 18:34:54 +0200 Subject: [PATCH] Documented removal of legacy hook interfaces --- UPGRADING.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/UPGRADING.md b/UPGRADING.md index 2ee7fbbc47d..8b804f27960 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -127,3 +127,28 @@ - [BC] Property `Psalm\Config::$allow_phpstorm_generics` was removed - [BC] Property `Psalm\Config::$exit_functions` was removed - [BC] Method `Psalm\Type::getEmpty()` was removed + - [BC] Legacy hook interfaces have been removed: + - `Psalm\Plugin\Hook\MethodReturnTypeProviderInterface` + - `Psalm\Plugin\Hook\BeforeFileAnalysisInterface` + - `Psalm\Plugin\Hook\AfterFileAnalysisInterface` + - `Psalm\Plugin\Hook\AfterMethodCallAnalysisInterface` + - `Psalm\Plugin\Hook\AfterClassLikeVisitInterface` + - `Psalm\Plugin\Hook\StringInterpreterInterface` + - `Psalm\Plugin\Hook\AfterExpressionAnalysisInterface` + - `Psalm\Plugin\Hook\AfterEveryFunctionCallAnalysisInterface` + - `Psalm\Plugin\Hook\PropertyExistenceProviderInterface` + - `Psalm\Plugin\Hook\AfterFunctionLikeAnalysisInterface` + - `Psalm\Plugin\Hook\FunctionParamsProviderInterface` + - `Psalm\Plugin\Hook\FunctionReturnTypeProviderInterface` + - `Psalm\Plugin\Hook\FunctionExistenceProviderInterface` + - `Psalm\Plugin\Hook\AfterAnalysisInterface` + - `Psalm\Plugin\Hook\MethodVisibilityProviderInterface` + - `Psalm\Plugin\Hook\MethodParamsProviderInterface` + - `Psalm\Plugin\Hook\AfterClassLikeExistenceCheckInterface` + - `Psalm\Plugin\Hook\PropertyTypeProviderInterface` + - `Psalm\Plugin\Hook\AfterFunctionCallAnalysisInterface` + - `Psalm\Plugin\Hook\MethodExistenceProviderInterface` + - `Psalm\Plugin\Hook\AfterCodebasePopulatedInterface` + - `Psalm\Plugin\Hook\AfterClassLikeAnalysisInterface` + - `Psalm\Plugin\Hook\PropertyVisibilityProviderInterface` + - `Psalm\Plugin\Hook\AfterStatementAnalysisInterface`