forked from rappasoft/laravel-livewire-tables
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
27 lines (26 loc) · 1.47 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- config
- database
- src
level: 6
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- identifier: missingType.generics
- identifier: missingType.iterableValue
- '#Property Rappasoft\\LaravelLivewireTables\\DataTableComponent\:\:\$model has no type specified#'
- '#Unable to resolve the template type TMapWithKeysKey in call to method Illuminate\\Support\\Collection#'
- '#Unable to resolve the template type TMapWithKeysValue in call to method Illuminate\\Support\\Collection#'
- '#Access to an undefined property Rappasoft\\LaravelLivewireTables\\Views\\Column\:\:\$view#'
- "#Unsafe usage of new static#"
- '#on array\<string, non-empty-array\<int\<0, max\>, mixed\>\> in empty\(\) does not exist.#'
- '#on array<string, non-empty-array<int<0, max>, mixed>> in isset\(\) does not exist#'
- '#on non-empty-array<1\|string, array<int<0, max>, mixed>> in isset\(\) does not exist.#'
- '#\$callback of method Illuminate\\Support\\Collection<int,string>::filter\(\) expects \(callable\(string, int\): bool\)\|null, Closure\(mixed\): int<0, max> given.#'
- '#Property Illuminate\\Database\\Query\\Builder\:\:\$joins \(array\) on left side of \?\? is not nullable.#'