From 5294805890233c7c3a2c612bf2d409dc67471895 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 16 Mar 2026 10:14:43 +0100 Subject: [PATCH] Removed non relevant test --- dev/tools/phan/config.php | 1 + dev/tools/phan/config_extended.php | 1 + 2 files changed, 2 insertions(+) diff --git a/dev/tools/phan/config.php b/dev/tools/phan/config.php index 343c3b18681..9a41901ee1a 100644 --- a/dev/tools/phan/config.php +++ b/dev/tools/phan/config.php @@ -451,6 +451,7 @@ return [ 'PhanCompatibleNegativeStringOffset', // return false positive 'PhanPluginConstantVariableBool', // a lot of false positive, in most cases, we want to keep the code as it is + 'PhanPluginConstantVariableNull', // a lot of false positive, in most cases, we want to keep the code as it is // 'PhanPluginUnknownArrayPropertyType', // Helps find missing array keys or mismatches, remaining occurrences are likely unused properties 'PhanTypeArraySuspiciousNullable', // About 440 occurrences // 'PhanTypeInvalidDimOffset', // Helps identify missing array indexes in types or reference to unset indexes diff --git a/dev/tools/phan/config_extended.php b/dev/tools/phan/config_extended.php index 878cf0fc7d3..c9a4168d675 100644 --- a/dev/tools/phan/config_extended.php +++ b/dev/tools/phan/config_extended.php @@ -68,6 +68,7 @@ $config['suppress_issue_types'] = [ 'PhanCompatibleNegativeStringOffset', // return false positive 'PhanPluginConstantVariableBool', // a lot of false positive, in most cases, we want to keep the code as it is + 'PhanPluginConstantVariableNull', // a lot of false positive, in most cases, we want to keep the code as it is // 'PhanPluginUnknownArrayPropertyType', // Helps find missing array keys or mismatches, remaining occurrences are likely unused properties 'PhanTypeArraySuspiciousNullable', // About 400 cases // 'PhanTypeInvalidDimOffset', // Helps identify missing array indexes in types or reference to unset indexes