From d8b07a59e15ffceb899d44b9c9d78fdad99bde48 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 5 Sep 2024 19:52:21 +0200 Subject: [PATCH] 8.9 --- phpstan.neon | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon b/phpstan.neon index 6b7ce92ad..c276e0bd3 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -28,6 +28,7 @@ parameters: - '#Cannot assign new offset to array\|string.#' - '#Cannot access offset .* on mixed.#' - '#Cannot access offset .* on array\|int.#' + - '#Cannot access an offset on array\|Countable.#' - '#Parameter \#1 \$haystack of function str_starts_with expects string, int\|string given.#' - '#Parameter \#3 \$length of function substr expects int\|null, int<0, max>\|false given.#' - '#Parameter \#1 \$string of function htmlspecialchars expects string, array\|string given.#'