diff --git a/dev/tools/phan/config.php b/dev/tools/phan/config.php index 48447acfadf..b5c6a65aa87 100644 --- a/dev/tools/phan/config.php +++ b/dev/tools/phan/config.php @@ -422,6 +422,7 @@ return [ 'PhanCompatibleNegativeStringOffset', // return false positive 'PhanPluginConstantVariableBool', // a lot of false positive, in most cases, we want to keep the code as it is 'PhanTypeObjectUnsetDeclaredProperty', + 'PhanTypePossiblyInvalidDimOffset', // a lot of false positive, in most cases, we want to keep the code as it is 'PhanPluginWhitespaceTab', // Dolibarr used tabs 'PhanPluginCanUsePHP71Void', // Dolibarr is maintaining 7.0 compatibility diff --git a/dev/tools/phan/config_extended.php b/dev/tools/phan/config_extended.php index 59ce0afe0ff..252f755528a 100644 --- a/dev/tools/phan/config_extended.php +++ b/dev/tools/phan/config_extended.php @@ -67,6 +67,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 'PhanTypeObjectUnsetDeclaredProperty', + 'PhanTypePossiblyInvalidDimOffset', // a lot of false positive, in most cases, we want to keep the code as it is 'PhanPluginWhitespaceTab', // Dolibarr used tabs 'PhanPluginCanUsePHP71Void', // Dolibarr is maintaining 7.0 compatibility