From 71423292e04fc950f3d5c75c29931d93d882ad4e Mon Sep 17 00:00:00 2001 From: MDW Date: Fri, 5 Sep 2025 12:04:03 +0200 Subject: [PATCH] Qual: Update phan baseline (#35237) # Qual: Update phan baseline --- dev/tools/phan/baseline.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev/tools/phan/baseline.txt b/dev/tools/phan/baseline.txt index 6eeb478f869..17bc08017d4 100644 --- a/dev/tools/phan/baseline.txt +++ b/dev/tools/phan/baseline.txt @@ -9,12 +9,12 @@ */ return [ // # Issue statistics: - // PhanUndeclaredProperty : 450+ occurrences + // PhanUndeclaredProperty : 440+ occurrences // PhanTypeMismatchProperty : 100+ occurrences // PhanTypeMismatchArgument : 70+ occurrences // PhanUndeclaredGlobalVariable : 70+ occurrences // PhanTypeMismatchArgumentNullable : 40+ occurrences - // PhanTypeInvalidDimOffset : 20+ occurrences + // PhanTypeInvalidDimOffset : 15+ occurrences // PhanTypeMismatchDimFetch : 15+ occurrences // PhanUndeclaredMethod : 9 occurrences // PhanTypeMismatchArgumentProbablyReal : 8 occurrences @@ -29,11 +29,9 @@ return [ // PhanTypeExpectedObjectPropAccessButGotNull : 1 occurrence // PhanTypeMismatchArgumentNullableInternal : 1 occurrence // PhanTypeMismatchReturn : 1 occurrence - // PhanTypeSuspiciousStringExpression : 1 occurrence // Currently, file_suppressions and directory_suppressions are the only supported suppressions 'file_suppressions' => [ - 'htdocs/bom/bom_card.php' => ['PhanTypeMismatchArgument', 'PhanUndeclaredProperty'], 'htdocs/bom/tpl/objectline_create.tpl.php' => ['PhanTypeMismatchArgumentProbablyReal'], 'htdocs/bom/tpl/objectline_edit.tpl.php' => ['PhanUndeclaredProperty'], 'htdocs/bom/tpl/objectline_view.tpl.php' => ['PhanUndeclaredProperty'], @@ -294,7 +292,7 @@ return [ 'htdocs/webservices/server_category.php' => ['PhanUndeclaredProperty'], 'htdocs/webservices/server_contact.php' => ['PhanUndeclaredProperty'], 'htdocs/webservices/server_invoice.php' => ['PhanUndeclaredProperty'], - 'htdocs/webservices/server_order.php' => ['PhanTypeInvalidDimOffset', 'PhanTypeSuspiciousStringExpression', 'PhanUndeclaredProperty'], + 'htdocs/webservices/server_order.php' => ['PhanUndeclaredProperty'], 'htdocs/webservices/server_payment.php' => ['PhanUndeclaredProperty'], 'htdocs/webservices/server_productorservice.php' => ['PhanUndeclaredProperty'], 'htdocs/webservices/server_project.php' => ['PhanUndeclaredProperty'],