diff --git a/phpstan.neon b/phpstan.neon index 8941d22e2..11e386760 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -28,7 +28,7 @@ parameters: - '#Cannot assign new offset to array\|string.#' - '#Cannot access offset .* on mixed.#' - '#Cannot access offset .* on array\|int.#' - - '#Parameter \#1 \$haystack of function strpos expects string, int\|string given.#' + - '#Parameter \#1 \$haystack of function str_starts_with 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 \$array of function array_keys expects array, mixed given.#'