forked from codeigniter4/shield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
26 lines (26 loc) · 753 Bytes
/
phpstan.neon.dist
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
parameters:
tmpDir: build/phpstan
level: 5
paths:
- src
- tests
bootstrapFiles:
- vendor/codeigniter4/codeigniter4/system/Test/bootstrap.php
excludePaths:
- src/Config/Routes.php
- src/Views/*
ignoreErrors:
- '#Call to an undefined method CodeIgniter\\Database\\BaseBuilder::[A-Za-z].+\(\)#'
- '#Call to an undefined method CodeIgniter\\Database\\ConnectionInterface::[A-Za-z].+\(\)#'
- '#Cannot access property [\$a-z_]+ on (array|object)#'
universalObjectCratesClasses:
- CodeIgniter\Entity
- CodeIgniter\Entity\Entity
- Faker\Generator
scanDirectories:
- vendor/codeigniter4/codeigniter4/system/Helpers
- vendor/codeigniter4/settings/src/Helpers
dynamicConstantNames:
- APP_NAMESPACE
- CI_DEBUG
- ENVIRONMENT