Skip to content

Commit

Permalink
ignore "value type specified in iterable type" in @phpstan-assert
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 16, 2024
1 parent 0202b83 commit 5ad50c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ parameters:
- '#Strict comparison using !== between .*non-empty-string.* and .* will always evaluate to true.#'
- '#Strict comparison using !== between .*non-falsy-string.* and .* will always evaluate to true.#'
- '#Call to function is_array\(\) with array will always evaluate to true.#'
# see https://github.com/phpstan/phpstan/issues/12061
- '#PHPDoc tag @phpstan-assert for \$actual has no value type specified in iterable type.*#'
- '#PHPDoc tag @phpstan-assert for \$array has no value type specified in iterable type.*#'

includes:
- phar://phpstan.phar/conf/bleedingEdge.neon

0 comments on commit 5ad50c7

Please sign in to comment.