From 85b4077d0d636bbc3dc152da32fa3c5e09f37fe5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 24 Apr 2024 20:35:36 +0200 Subject: [PATCH] Clean code --- dev/tools/phan/config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/tools/phan/config.php b/dev/tools/phan/config.php index 1b692364c4e..9da8c4641a4 100644 --- a/dev/tools/phan/config.php +++ b/dev/tools/phan/config.php @@ -441,6 +441,8 @@ return [ 'PhanPluginDuplicateConditionalNullCoalescing', // Not essential - 990+ occurrences 'PhanPluginRedundantAssignmentInGlobalScope', // Not essential, a lot of false warning 'PhanPluginDuplicateCatchStatementBody', // Requires PHP7.1 - 50+ occurrences + + 'PhanPluginUnknownObjectMethodCall', // False positive for some class ], // You can put relative paths to internal stubs in this config option. // Phan will continue using its detailed type annotations,