mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Disable PhanUndeclaredGlobalVariable
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user