Skip to content

Commit

Permalink
phpstan: Update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Mar 14, 2024
1 parent 8a860db commit 7e0b8ba
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline-7x.neon
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ parameters:
count: 1
path: library/Icingadb/Command/Transport/ApiCommandTransport.php

-
message: "#^Parameter \\#1 \\$str of function strtolower expects string, mixed given\\.$#"
count: 1
path: library/Icingadb/Command/Transport/CommandTransport.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, mixed given\\.$#"
count: 1
Expand Down
5 changes: 0 additions & 5 deletions phpstan-baseline-8x.neon
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ parameters:
count: 1
path: library/Icingadb/Command/Transport/ApiCommandTransport.php

-
message: "#^Parameter \\#1 \\$string of function strtolower expects string, mixed given\\.$#"
count: 1
path: library/Icingadb/Command/Transport/CommandTransport.php

-
message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#"
count: 1
Expand Down
25 changes: 20 additions & 5 deletions phpstan-baseline-standard.neon
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,11 @@ parameters:
count: 1
path: application/controllers/HostController.php

-
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
count: 1
path: application/controllers/HostController.php

-
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:lessThanOrEqual\\(\\) expects float\\|int\\|string, mixed given\\.$#"
count: 1
Expand Down Expand Up @@ -540,6 +545,11 @@ parameters:
count: 1
path: application/controllers/HostgroupController.php

-
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
count: 1
path: application/controllers/HostgroupController.php

-
message: "#^Property Icinga\\\\Module\\\\Icingadb\\\\Controllers\\\\HostgroupController\\:\\:\\$hostgroup \\(Icinga\\\\Module\\\\Icingadb\\\\Model\\\\Hostgroupsummary\\) does not accept ipl\\\\Orm\\\\Model\\.$#"
count: 1
Expand Down Expand Up @@ -895,6 +905,11 @@ parameters:
count: 1
path: application/controllers/ServiceController.php

-
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
count: 2
path: application/controllers/ServiceController.php

-
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:lessThanOrEqual\\(\\) expects float\\|int\\|string, mixed given\\.$#"
count: 1
Expand Down Expand Up @@ -925,6 +940,11 @@ parameters:
count: 1
path: application/controllers/ServicegroupController.php

-
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
count: 1
path: application/controllers/ServicegroupController.php

-
message: "#^Property Icinga\\\\Module\\\\Icingadb\\\\Controllers\\\\ServicegroupController\\:\\:\\$servicegroup \\(Icinga\\\\Module\\\\Icingadb\\\\Model\\\\ServicegroupSummary\\) does not accept ipl\\\\Orm\\\\Model\\.$#"
count: 1
Expand Down Expand Up @@ -7415,11 +7435,6 @@ parameters:
count: 1
path: library/Icingadb/Widget/ItemList/StateListItem.php

-
message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#"
count: 1
path: library/Icingadb/Widget/ItemList/StateListItem.php

-
message: "#^Method Icinga\\\\Module\\\\Icingadb\\\\Widget\\\\ItemList\\\\StateListItem\\:\\:createSubject\\(\\) has no return type specified\\.$#"
count: 1
Expand Down

0 comments on commit 7e0b8ba

Please sign in to comment.