mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-02-03 20:40:15 -05:00
Phpstan: Update baseline files
This commit is contained in:
parent
929258c30f
commit
a40df7f0c2
3 changed files with 7 additions and 47 deletions
|
|
@ -80,11 +80,6 @@ parameters:
|
|||
count: 1
|
||||
path: library/Icingadb/Util/PerfData.php
|
||||
|
||||
-
|
||||
message: "#^Method Icinga\\\\Module\\\\Icingadb\\\\Util\\\\PluginOutput\\:\\:render\\(\\) should return string but returns string\\|false\\|null\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|null given\\.$#"
|
||||
count: 1
|
||||
|
|
@ -95,11 +90,6 @@ parameters:
|
|||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Property Icinga\\\\Module\\\\Icingadb\\\\Util\\\\PluginOutput\\:\\:\\$renderedOutput \\(string\\) does not accept string\\|false\\|null\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$str of function trim expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
|
|
|
|||
|
|
@ -80,21 +80,11 @@ parameters:
|
|||
count: 1
|
||||
path: library/Icingadb/Util/PerfData.php
|
||||
|
||||
-
|
||||
message: "#^Method Icinga\\\\Module\\\\Icingadb\\\\Util\\\\PluginOutput\\:\\:render\\(\\) should return string but returns string\\|null\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function trim expects string, string\\|null given\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Property Icinga\\\\Module\\\\Icingadb\\\\Util\\\\PluginOutput\\:\\:\\$renderedOutput \\(string\\) does not accept string\\|null\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function trim expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
|
|
|
|||
|
|
@ -4936,17 +4936,7 @@ parameters:
|
|||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method insertBefore\\(\\) on DOMNode\\|null\\.$#"
|
||||
count: 3
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method removeChild\\(\\) on DOMNode\\|null\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$html of method Icinga\\\\Module\\\\Icingadb\\\\Util\\\\PluginOutput\\:\\:processHtml\\(\\) expects string, string\\|null given\\.$#"
|
||||
message: "#^Method Icinga\\\\Module\\\\Icingadb\\\\Util\\\\PluginOutput\\:\\:render\\(\\) should return string but returns string\\|null\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
|
|
@ -4956,22 +4946,7 @@ parameters:
|
|||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function strlen expects string, string\\|null given\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|null given\\.$#"
|
||||
count: 3
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|null given\\.$#"
|
||||
message: "#^Property Icinga\\\\Module\\\\Icingadb\\\\Util\\\\PluginOutput\\:\\:\\$renderedOutput \\(string\\) does not accept string\\|null\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Util/PluginOutput.php
|
||||
|
||||
|
|
@ -6635,6 +6610,11 @@ parameters:
|
|||
count: 1
|
||||
path: library/Icingadb/Widget/Detail/UserDetail.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access property \\$display_name on mixed\\.$#"
|
||||
count: 1
|
||||
path: library/Icingadb/Widget/Detail/UserDetail.php
|
||||
|
||||
-
|
||||
message: "#^Cannot call method getModel\\(\\) on mixed\\.$#"
|
||||
count: 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue