From 53fd86262fcb2850a18fb76e1df849a78061123c Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Wed, 6 Sep 2023 17:24:19 +0200 Subject: [PATCH] Ignore `*::assemble()` has return type specified error --- phpstan-baseline.neon | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 5231c347..66b3f70f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,5 +1,35 @@ parameters: ignoreErrors: + - + message: "#^Method ipl\\\\Web\\\\Common\\\\BaseItemList\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Common/BaseItemList.php + + - + message: "#^Method ipl\\\\Web\\\\Common\\\\BaseItemTable\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Common/BaseItemTable.php + + - + message: "#^Method ipl\\\\Web\\\\Common\\\\BaseListItem\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Common/BaseListItem.php + + - + message: "#^Method ipl\\\\Web\\\\Common\\\\BaseOrderedItemList\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Common/BaseOrderedItemList.php + + - + message: "#^Method ipl\\\\Web\\\\Common\\\\BaseStatusBar\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Common/BaseStatusBar.php + + - + message: "#^Method ipl\\\\Web\\\\Common\\\\BaseTableRowItem\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Common/BaseTableRowItem.php + - message: "#^Method ipl\\\\Web\\\\Common\\\\Card\\:\\:assemble\\(\\) has no return type specified\\.$#" count: 1 @@ -1555,6 +1585,11 @@ parameters: count: 1 path: src/Widget/Dropdown.php + - + message: "#^Method ipl\\\\Web\\\\Widget\\\\EmptyState\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Widget/EmptyState.php + - message: "#^Method ipl\\\\Web\\\\Widget\\\\HorizontalKeyValue\\:\\:__construct\\(\\) has parameter \\$key with no type specified\\.$#" count: 1 @@ -1630,6 +1665,21 @@ parameters: count: 1 path: src/Widget/Link.php + - + message: "#^Method ipl\\\\Web\\\\Widget\\\\Notice\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Widget/Notice.php + + - + message: "#^Method ipl\\\\Web\\\\Widget\\\\ShowMore\\:\\:assemble\\(\\) has no return type specified\\.$#" + count: 1 + path: src/Widget/ShowMore.php + + - + message: "#^Method ipl\\\\Web\\\\Widget\\\\ShowMore\\:\\:getBaseTarget\\(\\) should return string\\|null but returns array\\|bool\\|string\\|null\\.$#" + count: 1 + path: src/Widget/ShowMore.php + - message: "#^Method ipl\\\\Web\\\\Widget\\\\StateBadge\\:\\:assemble\\(\\) has no return type specified\\.$#" count: 1