-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
23 lines (17 loc) · 1.27 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
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- app
# The level 8 is the highest level
level: 5
ignoreErrors:
- '#Parameter \#1 \$fn of method EchoLabs\\Prism\\Tool\:\:using\(\) expects callable\(\)\: string, \$this\(App\\Services\\Prism\\Tools\\SendEmailToTeam\) given\.#'
- '#Parameter \$properties of class EchoLabs\\Prism\\Schema\\ObjectSchema constructor expects array<int, EchoLabs\\Prism\\Contracts\\Schema>, array<string, EchoLabs\\Prism\\Schema\\StringSchema> given\.#'
- '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection<int,App\\Models\\Message>::transform\(\) expects callable\(App\\Models\\Message, int\): App\\Models\\Message, Closure\(mixed\): \(EchoLabs\\Prism\\ValueObjects\\Messages\\AssistantMessage\|EchoLabs\\Prism\\ValueObjects\\Messages\\UserMessage\) given\.#'
- '#Parameter \#1 \$fn of method EchoLabs\\Prism\\Tool::using\(\) expects callable\(\): string, \$this\(App\\Services\\Prism\\Tools\\CreateTask\) given\.#'
- '#Parameter \#1 \$fn of method EchoLabs\\Prism\\Tool::using\(\) expects callable\(\): string, \$this\(App\\Services\\Prism\\Tools\\TaskList\) given\.#'
excludePaths:
- vendor
- app/Actions/*
- app/Http/Resources/*