Qual: Update phan baseline (#36362)
* Qual: Update Phan baseline # Qual: Update Phan baseline - Updated Phan baseline to reflect reduced occurrences of PhanTypeMismatchProperty and PhanUndeclaredMethod - Fixed syntax error in card.php by adding missing closing parenthesis * Qual: Fix PhanPluginRedundantReturnComment # Qual: Fix PhanPluginRedundantReturnComment - Add return type description for the getmsg method.
This commit is contained in:
parent
9ac7851073
commit
b57495f745
2 changed files with 3 additions and 5 deletions
|
|
@ -10,13 +10,13 @@
|
|||
return [
|
||||
// # Issue statistics:
|
||||
// PhanUndeclaredProperty : 420+ occurrences
|
||||
// PhanTypeMismatchProperty : 100+ occurrences
|
||||
// PhanTypeMismatchProperty : 95+ occurrences
|
||||
// PhanTypeMismatchArgument : 65+ occurrences
|
||||
// PhanUndeclaredGlobalVariable : 60+ occurrences
|
||||
// PhanTypeMismatchArgumentNullable : 20+ occurrences
|
||||
// PhanTypeInvalidDimOffset : 15+ occurrences
|
||||
// PhanTypeMismatchDimFetch : 10+ occurrences
|
||||
// PhanUndeclaredMethod : 7 occurrences
|
||||
// PhanUndeclaredMethod : 6 occurrences
|
||||
// PhanTypeArraySuspiciousNull : 5 occurrences
|
||||
// PhanTypeExpectedObjectPropAccess : 5 occurrences
|
||||
// PhanPluginDuplicateArrayKey : 4 occurrences
|
||||
|
|
@ -253,11 +253,9 @@ return [
|
|||
'htdocs/user/class/usergroup.class.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/variants/tpl/productattributevalueline_edit.tpl.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/variants/tpl/productattributevalueline_view.tpl.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/viewimage.php' => ['PhanUndeclaredMethod'],
|
||||
'htdocs/webhook/class/target.class.php' => ['PhanUndeclaredMethod'],
|
||||
'htdocs/webhook/target_card.php' => ['PhanUndeclaredGlobalVariable'],
|
||||
'htdocs/webportal/admin/setup.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/webportal/class/html.formcardwebportal.class.php' => ['PhanTypeMismatchArgument', 'PhanUndeclaredProperty'],
|
||||
'htdocs/webportal/class/html.formlistwebportal.class.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/webportal/class/webportalpropal.class.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/webservices/server_project.php' => ['PhanUndeclaredProperty'],
|
||||
|
|
|
|||
|
|
@ -3768,7 +3768,7 @@ class EmailCollector extends CommonObject
|
|||
* @param IMAP\Connection|resource $mbox Structure
|
||||
* @param int $mid Message Id / Message Number Email
|
||||
* @param string $destdir Target dir for attachments. Leave blank to parse without writing to disk.
|
||||
* @return int
|
||||
* @return -1|1 Return -1 if error, 1 if OK
|
||||
*/
|
||||
private function getmsg($mbox, $mid, $destdir = ''): int
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue