diff --git a/phpstan.neon b/phpstan.neon index 9f05bfdc6..bfe591aef 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -27,6 +27,7 @@ parameters: - '#Call to an undefined method object::.*#' - '#Parameter \#2 \$string of function explode expects string, .* given.#' - '#Parameter \#2 \$result of function ldap_.* expects LDAP\\Result, array\|LDAP\\Result given.#' + - '#Cannot access an offset on mixed.#' - '#Cannot access offset .* on mixed.#' - '#Cannot access offset .* on array\|int.#' - '#Cannot access an offset on array\|Countable.#'