Skip to content

Commit

Permalink
Update phpstan baseline config
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 6, 2023
1 parent 5b1e041 commit a225589
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ parameters:

-
message: "#^Cannot call method format\\(\\) on mixed\\.$#"
count: 2
count: 3
path: application/controllers/ReportsController.php

-
Expand All @@ -190,11 +190,6 @@ parameters:
count: 1
path: application/controllers/ReportsController.php

-
message: "#^Method Icinga\\\\Module\\\\Reporting\\\\Controllers\\\\TemplateController\\:\\:createTabs\\(\\) has no return type specified\\.$#"
count: 1
path: application/controllers/TemplateController.php

-
message: "#^Method Icinga\\\\Module\\\\Reporting\\\\Controllers\\\\TemplateController\\:\\:editAction\\(\\) has no return type specified\\.$#"
count: 1
Expand All @@ -215,14 +210,9 @@ parameters:
count: 1
path: application/controllers/TemplateController.php

-
message: "#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#"
count: 1
path: application/controllers/TemplateController.php

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

-
Expand Down

0 comments on commit a225589

Please sign in to comment.