-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
26 lines (20 loc) · 738 Bytes
/
phpstan.neon
File metadata and controls
26 lines (20 loc) · 738 Bytes
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
includes:
- vendor/larastan/larastan/extension.neon
rules:
- App\PHPStan\ForbiddenGlobalFunctionsRule
parameters:
paths:
- app
level: 6
ignoreErrors:
- identifier: argument.templateType
- identifier: missingType.generics
- '#Call to an undefined method Filament\\Forms\\Components\\(.+)::hintCopy\(\)#'
# We are getting and setting environment variables directly
-
identifier: larastan.noEnvCallsOutsideOfConfig
paths:
- app/Console/Commands/Environment/*.php
- app/Extensions/Captcha/Schemas/*.php
- app/Extensions/OAuth/Schemas/*.php
- app/Filament/Admin/Pages/Settings.php