forked from lonnieezell/myth-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
28 lines (28 loc) · 967 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
27
28
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:
- '#.+Mockery.+#'
- '#Call to an undefined method .+::shouldReceive\(\)#'
- '#Call to an undefined method CodeIgniter\\Database\\BaseBuilder::[A-Za-z]+\(\)#'
- '#Call to an undefined method CodeIgniter\\Model::[A-Za-z]+\(\)#'
- '#Call to an undefined static method Config\\Services::[A-Za-z]+\(\)#'
- '#Cannot access property [\$a-z_]+ on (array|object)#'
- '#Parameter \$user of method Myth\\Auth\\Authentication\\Passwords\\ValidatorInterface::check\(\) has typehint with deprecated class CodeIgniter\\Entity#'
universalObjectCratesClasses:
- CodeIgniter\Entity\Entity
- Faker\Generator
scanDirectories:
- vendor/codeigniter4/framework/system/Helpers
dynamicConstantNames:
- APP_NAMESPACE
- CI_DEBUG
- ENVIRONMENT