From e45432629620a9176ca1b9020eacbf451b2bd0c8 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 17 Mar 2026 13:40:19 +0100 Subject: [PATCH] Update the phpstan and psalm baseline --- phpstan-baseline.neon | 10 ++-------- psalm-baseline.xml | 8 ++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index db96291887..343c396463 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -9441,7 +9441,7 @@ parameters: - message: '#^Argument of an invalid type SimpleXMLElement\|null supplied for foreach, only iterables are supported\.$#' identifier: foreach.nonIterable - count: 2 + count: 1 path: src/Plugins/Import/ImportXml.php - @@ -9456,12 +9456,6 @@ parameters: count: 1 path: src/Plugins/Import/ImportXml.php - - - message: '#^Cannot access property \$table on SimpleXMLElement\|null\.$#' - identifier: property.nonObject - count: 1 - path: src/Plugins/Import/ImportXml.php - - message: '#^Cannot call method attributes\(\) on SimpleXMLElement\|null\.$#' identifier: method.nonObject @@ -16419,7 +16413,7 @@ parameters: Use dependency injection instead\.$# ''' identifier: staticMethod.deprecated - count: 1 + count: 3 path: tests/unit/PluginsTest.php - diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 2e88ae5613..1e730967b8 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -6286,6 +6286,12 @@ + + table]]> + + + + @@ -10296,6 +10302,8 @@ + + settings]]>