Make CTI less paranoiac to avoid alert at any code change

This commit is contained in:
Laurent Destailleur 2024-04-27 00:47:45 +02:00
parent 5ece2e7a75
commit 2de1287afd

View file

@ -442,9 +442,10 @@ return [
'PhanPluginRedundantAssignmentInGlobalScope', // Not essential, a lot of false warning
'PhanPluginDuplicateCatchStatementBody', // Requires PHP7.1 - 50+ occurrences
'PhanPluginUnknownArrayMethodReturnType', // Too many troubles to manage. Will be enabled later.
'PhanUndeclaredGlobalVariable', // Too many false positives on .tpl.php files. Will be enabled later.
'PhanPluginUnknownObjectMethodCall', // False positive for some class. Will be enabled later.
'PhanPluginUnknownArrayMethodParamType', // Too many troubles to manage. Is enabled into config_extended only.
'PhanPluginUnknownArrayMethodReturnType', // Too many troubles to manage. Is enabled into config_extended only.
'PhanUndeclaredGlobalVariable', // Too many false positives on .tpl.php files. Is enabled into config_extended only.
'PhanPluginUnknownObjectMethodCall', // False positive for some class. Is enabled into config_extended only.
],
// You can put relative paths to internal stubs in this config option.
// Phan will continue using its detailed type annotations,