forked from pelican-dev/panel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (21 loc) · 776 Bytes
/
phpstan.neon
File metadata and controls
28 lines (21 loc) · 776 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
27
28
includes:
- vendor/larastan/larastan/extension.neon
rules:
- App\PHPStan\ForbiddenGlobalFunctionsRule
parameters:
paths:
- app
level: 6
treatPhpDocTypesAsCertain: false
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