Disable PhanUndeclaredGlobalVariable

This commit is contained in:
Laurent Destailleur 2024-04-24 20:56:41 +02:00
parent 85b4077d0d
commit a669c3d3fa
2 changed files with 2 additions and 0 deletions

View File

@ -442,6 +442,7 @@ return [
'PhanPluginRedundantAssignmentInGlobalScope', // Not essential, a lot of false warning
'PhanPluginDuplicateCatchStatementBody', // Requires PHP7.1 - 50+ occurrences
'PhanUndeclaredGlobalVariable', // Too many false positives on .tpl.php files
'PhanPluginUnknownObjectMethodCall', // False positive for some class
],
// You can put relative paths to internal stubs in this config option.

View File

@ -86,6 +86,7 @@ $config['suppress_issue_types'] = [
'PhanPluginRedundantAssignmentInGlobalScope', // Not essential, a lot of false warning
'PhanPluginDuplicateCatchStatementBody', // Requires PHP7.1 - 50+ occurrences
'PhanUndeclaredGlobalVariable', // Too many false positives on .tpl.php files
'PhanPluginUnknownObjectMethodCall', // False positive for some class
];