-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpstan.neon
19 lines (19 loc) · 1.15 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
level: 8
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Parameter \#2 \$default of method Selective\\Transformer\\ArrayData::get\(\) expects null, mixed given.#'
- '#Parameter \#2 \$filter of method Selective\\Transformer\\ArrayTransformer::registerFilter\(\) expects callable\(\): mixed, object given.#'
- '#Parameter \#2 \$code of class Selective\\Transformer\\Exceptions\\ArrayTransformerException constructor expects int, mixed given.#'
- '#Parameter \#1 \$datetime of class DateTimeImmutable constructor expects string, mixed given.#'
- '#Parameter \#1 \$number of function number_format expects float, mixed given.#'
- '#Parameter \#1 \$source of method Selective\\Transformer\\ArrayTransformer::toArray\(\) expects array, mixed given.#'
- '#Parameter \#2 ...\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given.#'
- '#Parameter \#1 \$num of function number_format expects float, mixed given.#'
- "#Cannot cast mixed#"
- "#Cannot access offset#"
- "#Strict comparison using === between mixed and null will always evaluate to false#"
paths:
- src
- tests