summaryrefslogtreecommitdiffstats
path: root/phpstan-baseline-7x.neon
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:31:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:31:28 +0000
commit067008c5f094ba9606daacbe540f6b929dc124ea (patch)
tree3092ce2cd8bf1ac6db6c97f4c98c7f71a51c6ac8 /phpstan-baseline-7x.neon
parentInitial commit. (diff)
downloadicingaweb2-module-x509-067008c5f094ba9606daacbe540f6b929dc124ea.tar.xz
icingaweb2-module-x509-067008c5f094ba9606daacbe540f6b929dc124ea.zip
Adding upstream version 1:1.3.2.upstream/1%1.3.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'phpstan-baseline-7x.neon')
-rw-r--r--phpstan-baseline-7x.neon96
1 files changed, 96 insertions, 0 deletions
diff --git a/phpstan-baseline-7x.neon b/phpstan-baseline-7x.neon
new file mode 100644
index 0000000..62ec10c
--- /dev/null
+++ b/phpstan-baseline-7x.neon
@@ -0,0 +1,96 @@
+parameters:
+ ignoreErrors:
+ -
+ message: "#^Parameter \\#1 \\$x509certdata of function openssl_x509_read expects resource\\|string, mixed given\\.$#"
+ count: 1
+ path: application/clicommands/ImportCommand.php
+
+ -
+ message: "#^Parameter \\#1 \\$data of function bin2hex expects string, mixed given\\.$#"
+ count: 2
+ path: library/X509/CertificateDetails.php
+
+ -
+ message: "#^Parameter \\#1 \\$x509cert of function openssl_x509_parse expects resource\\|string, mixed given\\.$#"
+ count: 1
+ path: library/X509/CertificateDetails.php
+
+ -
+ message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\<int, string\\>\\|false given\\.$#"
+ count: 1
+ path: library/X509/CertificateDetails.php
+
+ -
+ message: "#^Parameter \\#1 \\$certificate of function openssl_pkey_get_public expects resource\\|string, mixed given\\.$#"
+ count: 1
+ path: library/X509/CertificateUtils.php
+
+ -
+ message: "#^Parameter \\#1 \\$key of function openssl_pkey_get_details expects resource, resource\\|false given\\.$#"
+ count: 1
+ path: library/X509/CertificateUtils.php
+
+ -
+ message: "#^Parameter \\#1 \\$x509 of function openssl_x509_export expects resource\\|string, mixed given\\.$#"
+ count: 1
+ path: library/X509/CertificateUtils.php
+
+ -
+ message: "#^Parameter \\#1 \\$x509 of function openssl_x509_fingerprint expects resource\\|string, mixed given\\.$#"
+ count: 1
+ path: library/X509/CertificateUtils.php
+
+ -
+ message: "#^Parameter \\#1 \\$x509cert of function openssl_x509_parse expects resource\\|string, mixed given\\.$#"
+ count: 1
+ path: library/X509/CertificateUtils.php
+
+ -
+ message: "#^Parameter \\#2 \\$str of function explode expects string, string\\|false given\\.$#"
+ count: 1
+ path: library/X509/CertificateUtils.php
+
+ -
+ message: "#^Parameter \\#1 \\$a of function gmp_add expects GMP\\|int\\|string, GMP\\|null given\\.$#"
+ count: 1
+ path: library/X509/Job.php
+
+ -
+ message: "#^Parameter \\#1 \\$a of function gmp_and expects GMP\\|int\\|string, GMP\\|null given\\.$#"
+ count: 1
+ path: library/X509/Job.php
+
+ -
+ message: "#^Parameter \\#1 \\$input of function str_pad expects string, string\\|false given\\.$#"
+ count: 1
+ path: library/X509/Job.php
+
+ -
+ message: "#^Parameter \\#1 \\$str of function base64_encode expects string, mixed given\\.$#"
+ count: 1
+ path: library/X509/Model/Behavior/DERBase64.php
+
+ -
+ message: "#^Parameter \\#2 \\$str of function explode expects string, mixed given\\.$#"
+ count: 1
+ path: library/X509/Model/Behavior/DERBase64.php
+
+ -
+ message: "#^Parameter \\#1 \\$in_addr of function inet_ntop expects string, mixed given\\.$#"
+ count: 1
+ path: library/X509/Model/Behavior/Ip.php
+
+ -
+ message: "#^Parameter \\#1 \\$input of function str_pad expects string, string\\|false given\\.$#"
+ count: 1
+ path: library/X509/Model/Behavior/Ip.php
+
+ -
+ message: "#^Parameter \\#1 \\$ip_address of function inet_pton expects string, mixed given\\.$#"
+ count: 1
+ path: library/X509/Model/Behavior/Ip.php
+
+ -
+ message: "#^Parameter \\#1 \\$str of function ltrim expects string, mixed given\\.$#"
+ count: 1
+ path: library/X509/Model/Behavior/Ip.php