diff --git a/dev/tools/phan/config.php b/dev/tools/phan/config.php index bb18f59f2ff..528d1d1b7a5 100644 --- a/dev/tools/phan/config.php +++ b/dev/tools/phan/config.php @@ -421,6 +421,7 @@ return [ 'PhanCompatibleNegativeStringOffset', // return false positive 'PhanPluginConstantVariableBool', // a lot of false positive, in most cases, we want to keep the code as it is + 'PhanTypeArraySuspiciousNullable', // this option costs more time to be supported than it solves time 'PhanTypeInvalidDimOffset', // this option costs more time to be supported than it solves time 'PhanTypeObjectUnsetDeclaredProperty', 'PhanTypePossiblyInvalidDimOffset', // a lot of false positive, in most cases, we want to keep the code as it is diff --git a/dev/tools/phan/config_extended.php b/dev/tools/phan/config_extended.php index 308c75d47c3..e78d225030f 100644 --- a/dev/tools/phan/config_extended.php +++ b/dev/tools/phan/config_extended.php @@ -66,6 +66,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 + 'PhanTypeArraySuspiciousNullable', // this option costs more time to be supported than it solves time 'PhanTypeInvalidDimOffset', // this option costs more time to be supported than it solves time 'PhanTypeObjectUnsetDeclaredProperty', 'PhanTypePossiblyInvalidDimOffset', // a lot of false positive, in most cases, we want to keep the code as it is