diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index 148231a66ca..f227902c745 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -26256,12 +26256,6 @@ parameters: count: 4 path: ../../../htdocs/societe/website.php - - - message: '#^Parameter \#1 \$params of static method Stripe\\Terminal\\Location\:\:all\(\) expects array\|null, string given\.$#' - identifier: argument.type - count: 1 - path: ../../../htdocs/stripe/admin/stripe.php - - message: '#^Call to function is_object\(\) with Facture will always evaluate to true\.$#' identifier: function.alreadyNarrowedType @@ -26448,24 +26442,6 @@ parameters: count: 6 path: ../../../htdocs/supplier_proposal/class/supplier_proposal.class.php - - - message: '#^Parameter \#3 \$remise_percent_ligne of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/supplier_proposal/class/supplier_proposal.class.php - - - - message: '#^Parameter \#5 \$uselocaltax1_rate of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/supplier_proposal/class/supplier_proposal.class.php - - - - message: '#^Parameter \#6 \$uselocaltax2_rate of function calcul_price_total expects float, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/supplier_proposal/class/supplier_proposal.class.php - - message: '#^Property SupplierProposal\:\:\$statut \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property @@ -26604,12 +26580,6 @@ parameters: count: 1 path: ../../../htdocs/takepos/admin/terminal.php - - - message: '#^Parameter \#1 \$params of static method Stripe\\Terminal\\Reader\:\:all\(\) expects array\|null, string given\.$#' - identifier: argument.type - count: 2 - path: ../../../htdocs/takepos/admin/terminal.php - - message: '#^Right side of && is always true\.$#' identifier: booleanAnd.rightAlwaysTrue @@ -26664,18 +26634,6 @@ parameters: count: 1 path: ../../../htdocs/takepos/index.php - - - message: '#^Variable \$CUSTOMER_DISPLAY_line1 might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/takepos/invoice.php - - - - message: '#^Variable \$CUSTOMER_DISPLAY_line2 might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/takepos/invoice.php - - message: '#^Variable \$batch might not be defined\.$#' identifier: variable.undefined @@ -26688,30 +26646,12 @@ parameters: count: 1 path: ../../../htdocs/takepos/invoice.php - - - message: '#^Variable \$creditnote might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: ../../../htdocs/takepos/invoice.php - - - - message: '#^Variable \$fk_source might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/takepos/invoice.php - - message: '#^Variable \$footer_ticket might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/takepos/invoice.php - - - message: '#^Variable \$footerorder might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: ../../../htdocs/takepos/invoice.php - - message: '#^Variable \$header_soc might not be defined\.$#' identifier: variable.undefined @@ -26724,42 +26664,12 @@ parameters: count: 1 path: ../../../htdocs/takepos/invoice.php - - - message: '#^Variable \$headerorder might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: ../../../htdocs/takepos/invoice.php - - - - message: '#^Variable \$idoflineadded might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/takepos/invoice.php - - - - message: '#^Variable \$printer might not be defined\.$#' - identifier: variable.undefined - count: 6 - path: ../../../htdocs/takepos/invoice.php - - - - message: '#^Variable \$sectionwithinvoicelink might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/takepos/invoice.php - - message: '#^Variable \$ticket_total might not be defined\.$#' identifier: variable.undefined count: 1 path: ../../../htdocs/takepos/invoice.php - - - message: '#^Variable \$tva_npr might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: ../../../htdocs/takepos/invoice.php - - message: '#^Variable \$warehouseid might not be defined\.$#' identifier: variable.undefined @@ -26784,12 +26694,6 @@ parameters: count: 3 path: ../../../htdocs/takepos/pay.php - - - message: '#^Variable \$stripeacc might not be defined\.$#' - identifier: variable.undefined - count: 1 - path: ../../../htdocs/takepos/pay.php - - message: '#^Variable \$user might not be defined\.$#' identifier: variable.undefined @@ -26814,18 +26718,6 @@ parameters: count: 1 path: ../../../htdocs/takepos/split.php - - - message: '#^Variable \$invoice might not be defined\.$#' - identifier: variable.undefined - count: 4 - path: ../../../htdocs/takepos/split.php - - - - message: '#^Variable \$placeid might not be defined\.$#' - identifier: variable.undefined - count: 2 - path: ../../../htdocs/takepos/split.php - - message: '#^Variable \$fontlist might not be defined\.$#' identifier: variable.undefined