From 26a050a5cfaa390dd6048d235f073ec494e71cb5 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:41:46 +0200 Subject: [PATCH] ContentService.php: Update phpstan-baseline*.neon --- phpstan-baseline-7.4.neon | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 3bffcbc087..2676a5f7c0 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -401,12 +401,12 @@ parameters: path: tests/integration/Core/Repository/ContentServiceAuthorizationTest.php - - message: "#^Parameter \\#1 \\$array_arg of function usort expects TArray of array, iterable\\ given\\.$#" + message: "#^Parameter \\#1 \\$array_arg of function usort expects TArray of array, iterable\\ given\\.$#" count: 2 path: tests/integration/Core/Repository/ContentServiceTest.php - - message: "#^Parameter \\#1 \\$input of function array_keys expects array, iterable\\ given\\.$#" + message: "#^Parameter \\#1 \\$input of function array_keys expects array, iterable\\ given\\.$#" count: 1 path: tests/integration/Core/Repository/ContentServiceTest.php @@ -430,6 +430,11 @@ parameters: count: 1 path: tests/integration/Core/Repository/ContentServiceTest.php + - + message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, iterable\\ given\\.$#" + count: 2 + path: tests/integration/Core/Repository/ContentServiceTest.php + - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, iterable\\ given\\.$#" count: 1