forked from codeigniter4/shield
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
36 lines (35 loc) · 935 Bytes
/
phpstan.neon.dist
File metadata and controls
36 lines (35 loc) · 935 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
29
30
31
32
33
34
35
36
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