From b5aa70c2c2be0f9fc16011fbb319af7d61cdefbb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Mar 2025 14:42:59 +0100 Subject: [PATCH] PHPStan > Update baseline (#33496) Co-authored-by: Dolibot --- dev/build/phpstan/phpstan-baseline.neon | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index 92f930b4ff9..6a0e9336f02 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -600,24 +600,12 @@ parameters: count: 1 path: ../../../htdocs/accountancy/class/lettering.class.php - - - message: '#^Parameter \#1 \$document_ids of method Lettering\:\:getBankLinesFromFkDocAndDocType\(\) expects array\\>, array\ given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/accountancy/class/lettering.class.php - - message: '#^Parameter \#1 \$link_by_element of method Lettering\:\:getGroupElements\(\) expects array\\>, array\\> given\.$#' identifier: argument.type count: 1 path: ../../../htdocs/accountancy/class/lettering.class.php - - - message: '#^Parameter \#3 \$link_key of method Lettering\:\:getGroupElements\(\) expects string, int given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/accountancy/class/lettering.class.php - - message: '#^Variable \$save_element_by_link might not be defined\.$#' identifier: variable.undefined @@ -1722,12 +1710,6 @@ parameters: count: 1 path: ../../../htdocs/admin/system/filecheck.php - - - message: '#^Parameter \#1 \$size of function dol_print_size expects int, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/admin/system/filecheck.php - - message: '#^Loose comparison using \!\= between '''' and ''kanban'' will always evaluate to true\.$#' identifier: notEqual.alwaysTrue @@ -4710,12 +4692,6 @@ parameters: count: 2 path: ../../../htdocs/compta/clients.php - - - message: '#^Variable \$sql might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/compta/clients.php - - message: '#^Variable \$stcomm might not be defined\.$#' identifier: variable.undefined