-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
41 lines (41 loc) · 1.78 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
parameters:
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: false
tmpDir: build/phpstan
level: 5
paths:
- src/
- tests/
bootstrapFiles:
- vendor/codeigniter4/framework/system/Test/bootstrap.php
excludePaths:
- src/Config/Routes.php
ignoreErrors:
- '#Call to an undefined method CodeIgniter\\HTTP\\RequestInterface::[A-Za-z].+\(\)#'
- '#Call to an undefined method CodeIgniter\\HTTP\\CLIRequest|CodeIgniter\\HTTP\\IncomingRequest::[A-Za-z].+\(\)#'
- '#Access to an undefined property CodeIgniter\\HTTP\\RequestInterface::\$[A-Za-z]#'
- '#Call to an undefined method CodeIgniter\\HTTP\\IncomingRequest::[A-Za-z].+\(\)#'
- '#Call to an undefined method CodeIgniter\\Database\\ConnectionInterface::[A-Za-z].+\(\)#'
- '#Call to deprecated function random_string\(\)#'
- '#Access to an undefined property CodeIgniter\\Config\\BaseConfig::\$[A-Za-z]#'
- '#Call to deprecated method getMethod\(\) of class CodeIgniter\\HTTP\\OutgoingRequestInterface#'
- '#Call to deprecated method request\(\)#'
- '#Cannot access property#'
- '#Expression on left side of ?? is not nullable#'
- '#Call to deprecated method getMethod\(\) of class CodeIgniter\\HTTP\\Request:#'
- '#Call to deprecated method getStatusCode\(\) of class CodeIgniter\\HTTP\\ResponseInterface:#'
- '#Negated boolean expression is always true.#'
- '#class CodeIgniter\\HTTP\\Request constructor expects Config\\App#'
- '#class CodeIgniter\\HTTP\\Response constructor expects Config\\App#'
universalObjectCratesClasses:
- CodeIgniter\Entity
- CodeIgniter\Entity\Entity
- Faker\Generator
scanDirectories:
- vendor/codeigniter4/framework/system/Helpers
- vendor/daycry/settings/src/Helpers
dynamicConstantNames:
- APP_NAMESPACE
- CI_DEBUG
- ENVIRONMENT
- CodeIgniter\CodeIgniter::CI_VERSION