mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Disable PhanUndeclaredGlobalVariable
This commit is contained in:
parent
85b4077d0d
commit
a669c3d3fa
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user