From cc2e8213bc84962fda832f5217c97b04149a28b0 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 15 May 2023 11:30:50 +0200 Subject: [PATCH] Adjust phpstan baseline (#11) --- phpstan-baseline.neon | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a293006..96871b5 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -15,6 +15,21 @@ parameters: count: 1 path: Classes/Domain/DestinationData/ImportFactory.php + - + message: "#^Parameter \\#2 \\$callback of function usort expects callable\\(TEntity, TEntity\\)\\: int, Closure\\(Wrm\\\\Events\\\\Domain\\\\Model\\\\Category, Wrm\\\\Events\\\\Domain\\\\Model\\\\Category\\)\\: int\\<\\-1, 1\\> given\\.$#" + count: 2 + path: Classes/Domain/Model/Event.php + + - + message: "#^Method Wrm\\\\Events\\\\Domain\\\\Model\\\\Event\\:\\:getCategories\\(\\) should return array\\ but returns array\\\\.$#" + count: 1 + path: Classes/Domain/Model/Event.php + + - + message: "#^Method Wrm\\\\Events\\\\Domain\\\\Model\\\\Event\\:\\:getFeatures\\(\\) should return array\\ but returns array\\\\.$#" + count: 1 + path: Classes/Domain/Model/Event.php + - message: "#^Call to method deleteFile\\(\\) on an unknown class TYPO3\\\\CMS\\\\Core\\\\Resource\\\\Storage\\.$#" count: 1