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
34 lines (34 loc) · 1000 Bytes
/
phpstan.neon.dist
File metadata and controls
34 lines (34 loc) · 1000 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
parameters:
tmpDir: build/phpstan
level: 5
paths:
- src/
- tests/
bootstrapFiles:
- vendor/codeigniter4/framework/system/Test/bootstrap.php
excludePaths:
- src/Config/Routes.php
- src/Views/*
ignoreErrors:
- '#Call to an undefined method CodeIgniter\\Database\\ConnectionInterface::[A-Za-z].+\(\)#'
- '#Cannot access property [\$a-z_]+ on (array|object)#'
-
message: '#Call to deprecated function random_string\(\):#'
paths:
- src/Authentication/Actions/Email2FA.php
- src/Authentication/Actions/EmailActivator.php
- src/Controllers/MagicLinkController.php
- src/Models/TokenLoginModel.php
- src/Models/UserIdentityModel.php
universalObjectCratesClasses:
- CodeIgniter\Entity
- CodeIgniter\Entity\Entity
- Faker\Generator
scanDirectories:
- vendor/codeigniter4/framework/system/Helpers
- vendor/codeigniter4/settings/src/Helpers
dynamicConstantNames:
- APP_NAMESPACE
- CI_DEBUG
- ENVIRONMENT
- CodeIgniter\CodeIgniter::CI_VERSION