From 53c02707a058f257fdec2aed3104ff5e72a281d9 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 6 Dec 2024 14:59:06 +0100 Subject: [PATCH] [PHPStan] Aligned baseline after PHPStan release --- phpstan-baseline-gte-8.0.neon | 5 ----- phpstan-baseline.neon | 5 ----- 2 files changed, 10 deletions(-) diff --git a/phpstan-baseline-gte-8.0.neon b/phpstan-baseline-gte-8.0.neon index f4d695d9ca..e65db45872 100644 --- a/phpstan-baseline-gte-8.0.neon +++ b/phpstan-baseline-gte-8.0.neon @@ -445,11 +445,6 @@ parameters: count: 12 path: tests/lib/Repository/Service/Mock/UrlAliasTest.php - - - message: "#^Trying to invoke Closure\\|null but it might not be a callable\\.$#" - count: 2 - path: tests/lib/Repository/SiteAccessAware/AbstractServiceTest.php - - message: "#^Parameter \\#1 \\$array of function key expects array\\|object, string given\\.$#" count: 4 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 64cf9f0188..4df9ba14c0 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -9465,11 +9465,6 @@ parameters: count: 1 path: src/lib/FieldType/Image/ImageStorage/Gateway/DoctrineStorage.php - - - message: "#^Cannot call method warning\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#" - count: 2 - path: src/lib/FieldType/Image/ImageThumbnailStrategy.php - - message: "#^Parameter \\#3 \\$pad_string of function str_pad expects string, int given\\.$#" count: 1