-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
17 lines (17 loc) · 867 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
parameters:
level: 8
paths:
- app
excludePaths:
- vendor
- storage
- tests/
- app/Shift/Rector
- app/Shift/LaravelShiftFiles
ignoreErrors:
- '#Parameter \#2 \$className of class App\\Shift\\Objects\\ClassMethod constructor expects string, string\|null given.#'
- '#Parameter \#2 \$className of class App\\Shift\\Objects\\ClassVariable constructor expects string, string\|null given.#'
- '#Parameter \#3 \$subject of function preg_replace expects array\|string, string\|null given.#'
- '#Parameter \#1 ...\$arrays of function array_merge expects array, array<mixed, mixed>\|string given#'
- '#Parameter \#3 \$subject of function str_replace expects array\|string, string\|false given.#'
- '#Possibly invalid array key type \(array<int, string>\|string\)#'