-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
phpstan.neon.dist
22 lines (22 loc) · 1.1 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
includes:
- vendor/nunomaduro/larastan/extension.neon
parameters:
level: max
paths:
- src
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
ignoreErrors:
- '#Call to an undefined method Illuminate\\Support\\HigherOrder#'
-
path: %currentWorkingDirectory%/src/Engines/ElasticSearchEngine.php
message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Model::searchableAs\(\)\.#'
-
path: %currentWorkingDirectory%/src/Engines/ElasticSearchEngine.php
message: '#message.*ServerErrorResponseException constructor expects string, string\|false given.#'
-
path: %currentWorkingDirectory%/src/Engines/ElasticSearchEngine.php
message: '#Parameter \#2 \$search of function array_key_exists expects array, array\|\(callable\) given\.#'
-
path: %currentWorkingDirectory%/src/Jobs/Stages/SwitchToNewAndRemoveOldIndex.php
message: '#Argument of an invalid type array\|\(callable\) supplied for foreach, only iterables are supported\.#'