From 81d40223ef8ef86621714cf3e47ec8195fafa514 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 4 Nov 2022 13:56:59 +0100 Subject: [PATCH] refactoring --- phpstan.neon | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 7b2a7b91a..719c55f09 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -23,13 +23,13 @@ parameters: - '#Throwing object of an unknown class [a-zA-Z0-9\\_-]+.#' - '#Parameter \#[0-9] \$[a-zA-Z_]+ of function [a-zA-Z_]+ expects [(]?callable.*#' - '#Call to an undefined method object::.*#' - - '#Parameter \#2 \$string of function explode expects string, array\|string given.#' + - '#Parameter \#2 \$string of function explode expects string, array\|string given.#' - '#Parameter \#2 \$result of function ldap_get_entries expects LDAP\\Result, array\|LDAP\\Result given.#' - '#Cannot assign new offset to array\|string.#' - '#Cannot access offset .* on array\|int.#' - '#Parameter \#1 \$haystack of function strpos expects string, int\|string given.#' - - '#Parameter \#1 \$string of function htmlspecialchars expects string, array\|string given.#' - - '#Parameter \#1 \$name of function LAM\\ACCOUNTLIST\\search_username expects string, array\|string given.#' + - '#Parameter \#1 \$string of function htmlspecialchars expects string, array\|string given.#' + - '#Parameter \#1 \$name of function LAM\\ACCOUNTLIST\\search_username expects string, array\|string given.#' - '#Cannot access offset int\|string on mixed.#' - '#Parameter \#1 \$array of function array_keys expects array, mixed given.#' - '#Cannot access offset .+ on mixed.#'