From c9d69aa954cef4e927e9382d721b1da757e034de Mon Sep 17 00:00:00 2001 From: MDW Date: Sat, 8 Feb 2025 20:05:38 +0100 Subject: [PATCH] Qual: Update phan baseline --- dev/tools/phan/baseline.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev/tools/phan/baseline.txt b/dev/tools/phan/baseline.txt index cfc989ba39a..6d6142302e7 100644 --- a/dev/tools/phan/baseline.txt +++ b/dev/tools/phan/baseline.txt @@ -9,9 +9,9 @@ */ return [ // # Issue statistics: - // PhanTypeMismatchArgument : 2230+ occurrences + // PhanTypeMismatchArgument : 2170+ occurrences // PhanUndeclaredProperty : 530+ occurrences - // PhanTypeMismatchArgumentNullable : 430+ occurrences + // PhanTypeMismatchArgumentNullable : 420+ occurrences // PhanUndeclaredGlobalVariable : 190+ occurrences // PhanPluginUnknownArrayMethodReturnType : 170+ occurrences // PhanPossiblyUndeclaredGlobalVariable : 150+ occurrences @@ -30,9 +30,9 @@ return [ // PhanPluginSuspiciousParamPosition : 7 occurrences // PhanPluginUnknownObjectMethodCall : 7 occurrences // PhanPluginDuplicateExpressionBinaryOp : 6 occurrences - // PhanPluginEmptyStatementIf : 6 occurrences // PhanTypeArraySuspiciousNull : 6 occurrences // PhanParamTooMany : 5 occurrences + // PhanPluginEmptyStatementIf : 5 occurrences // PhanEmptyForeach : 4 occurrences // PhanPluginBothLiteralsBinaryOp : 4 occurrences // PhanPluginDuplicateArrayKey : 4 occurrences @@ -305,7 +305,6 @@ return [ 'htdocs/contrat/class/contratligne.class.php' => ['PhanTypeMismatchArgument'], 'htdocs/contrat/contact.php' => ['PhanTypeMismatchArgument'], 'htdocs/contrat/document.php' => ['PhanTypeMismatchArgument'], - 'htdocs/contrat/index.php' => ['PhanTypeMismatchArgument'], 'htdocs/contrat/list.php' => ['PhanTypeMismatchArgument'], 'htdocs/contrat/messaging.php' => ['PhanTypeMismatchArgument'], 'htdocs/contrat/note.php' => ['PhanTypeMismatchArgument'], @@ -613,7 +612,6 @@ return [ 'htdocs/product/stats/card.php' => ['PhanTypeComparisonFromArray', 'PhanTypeMismatchArgument'], 'htdocs/product/stats/commande.php' => ['PhanTypeMismatchArgument'], 'htdocs/product/stats/commande_fournisseur.php' => ['PhanTypeMismatchArgument'], - 'htdocs/product/stats/contrat.php' => ['PhanTypeMismatchArgument'], 'htdocs/product/stats/expedition.php' => ['PhanTypeMismatchArgument'], 'htdocs/product/stats/facture_fournisseur.php' => ['PhanTypeMismatchArgument'], 'htdocs/product/stats/facturerec.php' => ['PhanTypeMismatchArgument'], @@ -628,7 +626,7 @@ return [ 'htdocs/product/stock/class/mouvementstock.class.php' => ['PhanTypeMismatchArgument'], 'htdocs/product/stock/info.php' => ['PhanPluginUnknownObjectMethodCall', 'PhanTypeMismatchArgument', 'PhanUndeclaredGlobalVariable', 'PhanUndeclaredProperty'], 'htdocs/product/stock/list.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentProbablyReal', 'PhanUndeclaredProperty'], - 'htdocs/product/stock/massstockmove.php' => ['PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentNullable'], + 'htdocs/product/stock/massstockmove.php' => ['PhanTypeMismatchArgument'], 'htdocs/product/stock/movement_card.php' => ['PhanPluginUndeclaredVariableIsset', 'PhanPossiblyUndeclaredGlobalVariable', 'PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentNullable', 'PhanUndeclaredGlobalVariable', 'PhanUndeclaredProperty'], 'htdocs/product/stock/movement_list.php' => ['PhanPluginBothLiteralsBinaryOp', 'PhanPluginUndeclaredVariableIsset', 'PhanTypeMismatchArgument', 'PhanUndeclaredGlobalVariable', 'PhanUndeclaredProperty'], 'htdocs/product/stock/product.php' => ['PhanPossiblyUndeclaredGlobalVariable', 'PhanTypeMismatchArgument', 'PhanTypeMismatchArgumentNullable'],