-
Notifications
You must be signed in to change notification settings - Fork 145
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
40 lines (39 loc) · 1.03 KB
/
phpstan.neon.dist
File metadata and controls
40 lines (39 loc) · 1.03 KB
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
includes:
- phpstan-baseline.php
- phar://vendor/phpstan/phpstan/phpstan.phar/conf/bleedingEdge.neon
parameters:
tmpDir: build/phpstan
level: 5
paths:
- src/
- tests/
bootstrapFiles:
- vendor/codeigniter4/framework/system/Test/bootstrap.php
excludePaths:
- src/Views/*
universalObjectCratesClasses:
- Faker\Generator
scanDirectories:
- vendor/codeigniter4/framework/system/Helpers
- vendor/codeigniter4/settings/src/Helpers
dynamicConstantNames:
- CodeIgniter\CodeIgniter::CI_VERSION
codeigniter:
additionalConfigNamespaces:
- CodeIgniter\Settings\Config
- CodeIgniter\Shield\Config
additionalServices:
- CodeIgniter\Shield\Config\Services
strictRules:
allRules: false
disallowedLooseComparison: true
booleansInConditions: true
disallowedBacktick: true
disallowedEmpty: true
disallowedImplicitArrayCreation: true
disallowedShortTernary: true
matchingInheritedMethodNames: true
ignoreErrors:
- identifier: function.internal
- identifier: return.internalClass
- identifier: staticMethod.internal