summaryrefslogtreecommitdiffstats
path: root/phpstan-baseline-7x.neon
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:45:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:45:00 +0000
commitbe4626482ba8761da39746a6ac60d133d3852a0f (patch)
tree45065832c85c4789237e94b3114360eac91d86f0 /phpstan-baseline-7x.neon
parentReleasing progress-linux version 1.1.1-1~progress7.99u1. (diff)
downloadicingadb-web-be4626482ba8761da39746a6ac60d133d3852a0f.tar.xz
icingadb-web-be4626482ba8761da39746a6ac60d133d3852a0f.zip
Merging upstream version 1.1.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'phpstan-baseline-7x.neon')
-rw-r--r--phpstan-baseline-7x.neon116
1 files changed, 116 insertions, 0 deletions
diff --git a/phpstan-baseline-7x.neon b/phpstan-baseline-7x.neon
new file mode 100644
index 0000000..6da3525
--- /dev/null
+++ b/phpstan-baseline-7x.neon
@@ -0,0 +1,116 @@
+parameters:
+ ignoreErrors:
+ -
+ message: "#^Parameter \\#1 \\$data of function hex2bin expects string, mixed given\\.$#"
+ count: 1
+ path: application/controllers/EventController.php
+
+ -
+ message: "#^Parameter \\#1 \\$str of function md5 expects string, mixed given\\.$#"
+ count: 1
+ path: application/forms/RedisConfigForm.php
+
+ -
+ message: "#^Parameter \\#1 \\$stack of function array_pop expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Command/Transport/ApiCommandTransport.php
+
+ -
+ message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Common/IcingaRedis.php
+
+ -
+ message: "#^Parameter \\#1 \\$arr1 of function array_diff_key expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Common/ObjectInspectionDetail.php
+
+ -
+ message: "#^Parameter \\#1 \\$data of function bin2hex expects string, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Common/ObjectInspectionDetail.php
+
+ -
+ message: "#^Parameter \\#1 \\$str of function strtolower expects string, mixed given\\.$#"
+ count: 2
+ path: library/Icingadb/Compat/UrlMigrator.php
+
+ -
+ message: "#^Parameter \\#1 \\$input of function array_keys expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/CsvResultSet.php
+
+ -
+ message: "#^Parameter \\#1 \\$input of function array_values expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/CsvResultSet.php
+
+ -
+ message: "#^Parameter \\#2 \\$str of function explode expects string, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/PivotTable.php
+
+ -
+ message: "#^Parameter \\#1 \\$input of function array_keys expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/VolatileCsvResults.php
+
+ -
+ message: "#^Parameter \\#1 \\$input of function array_values expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/VolatileCsvResults.php
+
+ -
+ message: "#^Parameter \\#2 \\$str of function explode expects string, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Model/Behavior/ActionAndNoteUrl.php
+
+ -
+ message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
+ count: 1
+ path: library/Icingadb/Model/CustomvarFlat.php
+
+ -
+ message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, Icinga\\\\Module\\\\Reporting\\\\ReportData\\|null given\\.$#"
+ count: 1
+ path: library/Icingadb/ProvidedHook/Reporting/SlaReport.php
+
+ -
+ message: "#^Parameter \\#1 \\$number of function number_format expects float, float\\|int\\|string given\\.$#"
+ 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
+ path: library/Icingadb/Util/PluginOutput.php
+
+ -
+ message: "#^Parameter \\#3 \\$encoding of function htmlspecialchars expects string, null given\\.$#"
+ 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
+ path: library/Icingadb/Web/Controller.php
+
+ -
+ message: "#^Parameter \\#2 \\$str of function explode expects string, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Web/Controller.php
+
+ -
+ message: "#^Parameter \\#1 \\$objects of method Icinga\\\\Module\\\\Icingadb\\\\Forms\\\\Command\\\\CommandForm\\:\\:setObjects\\(\\) expects array\\<ipl\\\\Orm\\\\Model\\>\\|\\(Countable&Traversable\\<mixed, ipl\\\\Orm\\\\Model\\>\\), array\\<int, null\\>\\|false given\\.$#"
+ count: 1
+ path: library/Icingadb/Widget/Detail/MultiselectQuickActions.php