Skip to content

Commit

Permalink
Ignore *::assemble() has return type specified error
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 6, 2023
1 parent 8247089 commit 53fd862
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 53fd862

Please sign in to comment.