summaryrefslogtreecommitdiffstats
path: root/phpstan-baseline-8x.neon
diff options
context:
space:
mode:
Diffstat (limited to 'phpstan-baseline-8x.neon')
-rw-r--r--phpstan-baseline-8x.neon111
1 files changed, 111 insertions, 0 deletions
diff --git a/phpstan-baseline-8x.neon b/phpstan-baseline-8x.neon
new file mode 100644
index 0000000..b5b85f7
--- /dev/null
+++ b/phpstan-baseline-8x.neon
@@ -0,0 +1,111 @@
+parameters:
+ ignoreErrors:
+ -
+ message: "#^Parameter \\#1 \\$string of function hex2bin expects string, mixed given\\.$#"
+ count: 1
+ path: application/controllers/EventController.php
+
+ -
+ message: "#^Parameter \\#1 \\$string of function md5 expects string, mixed given\\.$#"
+ count: 1
+ path: application/forms/RedisConfigForm.php
+
+ -
+ message: "#^Parameter \\#1 \\$array of function array_pop expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Command/Transport/ApiCommandTransport.php
+
+ -
+ message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Common/IcingaRedis.php
+
+ -
+ message: "#^Parameter \\#1 \\$array of function array_diff_key expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Common/ObjectInspectionDetail.php
+
+ -
+ message: "#^Parameter \\#1 \\$string of function bin2hex expects string, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Common/ObjectInspectionDetail.php
+
+ -
+ message: "#^Parameter \\#1 \\$string of function strtolower expects string, mixed given\\.$#"
+ count: 2
+ path: library/Icingadb/Compat/UrlMigrator.php
+
+ -
+ message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/CsvResultSet.php
+
+ -
+ message: "#^Parameter \\#1 \\$array of function array_values expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/CsvResultSet.php
+
+ -
+ message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/PivotTable.php
+
+ -
+ message: "#^Parameter \\#1 \\$array of function array_keys expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/VolatileCsvResults.php
+
+ -
+ message: "#^Parameter \\#1 \\$array of function array_values expects array, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Data/VolatileCsvResults.php
+
+ -
+ message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#"
+ count: 1
+ path: library/Icingadb/Model/Behavior/ActionAndNoteUrl.php
+
+ -
+ message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, array\\<int, string\\>\\|false given\\.$#"
+ count: 1
+ path: library/Icingadb/Model/CustomvarFlat.php
+
+ -
+ message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, Icinga\\\\Module\\\\Reporting\\\\ReportData\\|null given\\.$#"
+ count: 1
+ path: library/Icingadb/ProvidedHook/Reporting/SlaReport.php
+
+ -
+ message: "#^Parameter \\#1 \\$num 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\\|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
+ path: library/Icingadb/Web/Controller.php
+
+ -
+ message: "#^Parameter \\#2 \\$string 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\\> given\\.$#"
+ count: 1
+ path: library/Icingadb/Widget/Detail/MultiselectQuickActions.php