diff --git a/dev/tools/phan/config.php b/dev/tools/phan/config.php index 4b41865a26d..f360c5c0cd6 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 + 'PhanTypeObjectUnsetDeclaredProperty', '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 4df133f4d11..c0a853313fe 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 + 'PhanTypeObjectUnsetDeclaredProperty', 'PhanPluginWhitespaceTab', // Dolibarr used tabs 'PhanPluginCanUsePHP71Void', // Dolibarr is maintaining 7.0 compatibility