Skip to content

Commit

Permalink
Update phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Jan 25, 2024
1 parent 1814bca commit 1a1bd6b
Showing 1 changed file with 102 additions and 17 deletions.
119 changes: 102 additions & 17 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,31 @@ parameters:
count: 1
path: src/Common/StateBadges.php

-
message: "#^Call to an undefined method Icinga\\\\Web\\\\Request\\:\\:getPathInfo\\(\\)\\.$#"
count: 1
path: src/Compat/CompatController.php

-
message: "#^Call to an undefined method Icinga\\\\Web\\\\Request\\:\\:setPathInfo\\(\\)\\.$#"
count: 2
path: src/Compat/CompatController.php

-
message: "#^Call to an undefined method Icinga\\\\Web\\\\Response\\:\\:setHeader\\(\\)\\.$#"
count: 3
path: src/Compat/CompatController.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\CompatController\\:\\:createSortControl\\(\\) has parameter \\$columns with no value type specified in iterable type array\\.$#"
count: 1
path: src/Compat/CompatController.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\CompatController\\:\\:postDispatch\\(\\) has no return type specified\\.$#"
count: 1
path: src/Compat/CompatController.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\CompatController\\:\\:prepareInit\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -101,15 +121,85 @@ parameters:
path: src/Compat/Multipart.php

-
message: "#^Access to an undefined property Zend_View_Interface\\:\\:\\$document\\.$#"
count: 2
message: "#^Access to an undefined property ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:\\$view\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Call to an undefined method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:getRequest\\(\\)\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Call to an undefined method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:getResponse\\(\\)\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Call to an undefined method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:getResponseSegment\\(\\)\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Call to an undefined method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:setNoRender\\(\\)\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Call to static method addHelper\\(\\) on an unknown class Zend_Controller_Action_HelperBroker\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Call to static method getStaticHelper\\(\\) on an unknown class Zend_Controller_Action_HelperBroker\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Call to static method removeHelper\\(\\) on an unknown class Zend_Controller_Action_HelperBroker\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:getName\\(\\) has no return type specified\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:inject\\(\\) has no return type specified\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:render\\(\\) has no return type specified\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:render\\(\\) has parameter \\$action with no type specified\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:render\\(\\) has parameter \\$name with no type specified\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Method ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:render\\(\\) has parameter \\$noController with no type specified\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^PHPDoc tag @var for variable \\$viewRenderer contains unknown class Zend_Controller_Action_Helper_ViewRenderer\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^ipl\\\\Web\\\\Compat\\\\ViewRenderer\\:\\:render\\(\\) calls parent\\:\\:render\\(\\) but ipl\\\\Web\\\\Compat\\\\ViewRenderer does not extend any class\\.$#"
count: 1
path: src/Compat/ViewRenderer.php

-
message: "#^Method ipl\\\\Web\\\\Control\\\\LimitControl\\:\\:assemble\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -155,6 +245,11 @@ parameters:
count: 1
path: src/Control/PaginationControl.php

-
message: "#^Variable \\$currentPageNumber might not be defined\\.$#"
count: 1
path: src/Control/PaginationControl.php

-
message: "#^Access to an undefined property ipl\\\\Html\\\\Form\\:\\:\\$uidElementName\\.$#"
count: 3
Expand All @@ -167,19 +262,14 @@ parameters:

-
message: "#^Cannot access offset 'terms' on mixed\\.$#"
count: 2
count: 1
path: src/Control/SearchBar.php

-
message: "#^Cannot access offset 'type' on mixed\\.$#"
count: 2
path: src/Control/SearchBar.php

-
message: "#^Cannot access offset mixed on array\\|object\\.$#"
count: 1
path: src/Control/SearchBar.php

-
message: "#^Cannot call method getHeaderLine\\(\\) on Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\|null\\.$#"
count: 1
Expand Down Expand Up @@ -247,7 +337,7 @@ parameters:

-
message: "#^Cannot access offset 'column' on mixed\\.$#"
count: 3
count: 1
path: src/Control/SearchBar/Suggestions.php

-
Expand All @@ -257,7 +347,7 @@ parameters:

-
message: "#^Cannot access offset 'operator' on mixed\\.$#"
count: 2
count: 1
path: src/Control/SearchBar/Suggestions.php

-
Expand All @@ -267,12 +357,12 @@ parameters:

-
message: "#^Cannot access offset 'searchFilter' on mixed\\.$#"
count: 2
count: 1
path: src/Control/SearchBar/Suggestions.php

-
message: "#^Cannot access offset 'showQuickSearch' on mixed\\.$#"
count: 2
count: 1
path: src/Control/SearchBar/Suggestions.php

-
Expand Down Expand Up @@ -685,11 +775,6 @@ parameters:
count: 3
path: src/Control/SortControl.php

-
message: "#^Cannot access offset mixed on array\\|object\\.$#"
count: 1
path: src/Control/SortControl.php

-
message: "#^Cannot call method getParsedBody\\(\\) on Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\|null\\.$#"
count: 1
Expand Down

0 comments on commit 1a1bd6b

Please sign in to comment.