Skip to content

Commit 7e0b8ba

Browse files
committed
phpstan: Update baselines
1 parent 8a860db commit 7e0b8ba

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

Diff for: phpstan-baseline-7x.neon

-5
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ parameters:
7070
count: 1
7171
path: library/Icingadb/Command/Transport/ApiCommandTransport.php
7272

73-
-
74-
message: "#^Parameter \\#1 \\$str of function strtolower expects string, mixed given\\.$#"
75-
count: 1
76-
path: library/Icingadb/Command/Transport/CommandTransport.php
77-
7873
-
7974
message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, mixed given\\.$#"
8075
count: 1

Diff for: phpstan-baseline-8x.neon

-5
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ parameters:
7070
count: 1
7171
path: library/Icingadb/Command/Transport/ApiCommandTransport.php
7272

73-
-
74-
message: "#^Parameter \\#1 \\$string of function strtolower expects string, mixed given\\.$#"
75-
count: 1
76-
path: library/Icingadb/Command/Transport/CommandTransport.php
77-
7873
-
7974
message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#"
8075
count: 1

Diff for: phpstan-baseline-standard.neon

+20-5
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,11 @@ parameters:
510510
count: 1
511511
path: application/controllers/HostController.php
512512

513+
-
514+
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
515+
count: 1
516+
path: application/controllers/HostController.php
517+
513518
-
514519
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:lessThanOrEqual\\(\\) expects float\\|int\\|string, mixed given\\.$#"
515520
count: 1
@@ -540,6 +545,11 @@ parameters:
540545
count: 1
541546
path: application/controllers/HostgroupController.php
542547

548+
-
549+
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
550+
count: 1
551+
path: application/controllers/HostgroupController.php
552+
543553
-
544554
message: "#^Property Icinga\\\\Module\\\\Icingadb\\\\Controllers\\\\HostgroupController\\:\\:\\$hostgroup \\(Icinga\\\\Module\\\\Icingadb\\\\Model\\\\Hostgroupsummary\\) does not accept ipl\\\\Orm\\\\Model\\.$#"
545555
count: 1
@@ -895,6 +905,11 @@ parameters:
895905
count: 1
896906
path: application/controllers/ServiceController.php
897907

908+
-
909+
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
910+
count: 2
911+
path: application/controllers/ServiceController.php
912+
898913
-
899914
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:lessThanOrEqual\\(\\) expects float\\|int\\|string, mixed given\\.$#"
900915
count: 1
@@ -925,6 +940,11 @@ parameters:
925940
count: 1
926941
path: application/controllers/ServicegroupController.php
927942

943+
-
944+
message: "#^Parameter \\#2 \\$value of static method ipl\\\\Stdlib\\\\Filter\\:\\:equal\\(\\) expects array\\|bool\\|float\\|int\\|string, mixed given\\.$#"
945+
count: 1
946+
path: application/controllers/ServicegroupController.php
947+
928948
-
929949
message: "#^Property Icinga\\\\Module\\\\Icingadb\\\\Controllers\\\\ServicegroupController\\:\\:\\$servicegroup \\(Icinga\\\\Module\\\\Icingadb\\\\Model\\\\ServicegroupSummary\\) does not accept ipl\\\\Orm\\\\Model\\.$#"
930950
count: 1
@@ -7415,11 +7435,6 @@ parameters:
74157435
count: 1
74167436
path: library/Icingadb/Widget/ItemList/StateListItem.php
74177437

7418-
-
7419-
message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#"
7420-
count: 1
7421-
path: library/Icingadb/Widget/ItemList/StateListItem.php
7422-
74237438
-
74247439
message: "#^Method Icinga\\\\Module\\\\Icingadb\\\\Widget\\\\ItemList\\\\StateListItem\\:\\:createSubject\\(\\) has no return type specified\\.$#"
74257440
count: 1

0 commit comments

Comments
 (0)