-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathphpstan.neon
54 lines (54 loc) · 1.85 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
parameters:
tmpDir: build/phpstan
level: 6
paths:
- app
- modules
- tests
bootstrapFiles:
- vendor/codeigniter4/framework/system/Test/bootstrap.php
scanDirectories:
- app
- modules
- vendor/codeigniter4
excludePaths:
- app/Libraries/Router.php
- app/Views/*
- modules/*/Views/*
- themes/*
codeigniter:
additionalConfigNamespaces:
- Modules\Admin\Config\
- Modules\Analytics\Config\
- Modules\Api\Rest\V1\Config\
- Modules\Auth\Config\
- Modules\Fediverse\Config\
- Modules\Install\Config\
- Modules\Media\Config\
- Modules\MediaClipper\Config\
- Modules\Plugins\Config\
- Modules\PodcastImport\Config\
- Modules\PremiumPodcasts\Config\
- Modules\WebSub\Config\
- ViewThemes\Config\
- Vite\Config\
additionalModelNamespaces:
- Modules\Analytics\Models\
- Modules\Auth\Models\
- Modules\Fediverse\Models\
- Modules\Media\Models\
- Modules\PremiumPodcasts\Models\
- CodeIgniter\Shield\Models\
additionalServices:
- CodeIgniter\Settings\Config\Services
- CodeIgniter\Shield\Config\Services
- Michalsn\Uuid\Config\Services
- Modules\Media\Config\Services
- Modules\Platforms\Config\Services
- Modules\Plugins\Config\Services
- Modules\PremiumPodcasts\Config\Services
- Modules\Api\Rest\V1\Config\Services
ignoreErrors:
- '#^Call to an undefined method CodeIgniter\\Cache\\CacheInterface\:\:deleteMatching\(\)#'
- identifier: missingType.generics
- identifier: property.readOnlyByPhpDocDefaultValue