-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
47 lines (41 loc) · 1.18 KB
/
phpstan.dist.neon
File metadata and controls
47 lines (41 loc) · 1.18 KB
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
42
43
44
45
46
47
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- phpstan-baseline.neon
parameters:
level: 3
paths:
- build
- framework
- tests
excludePaths:
analyse:
- tests/data
- tests/framework/base/stub
- tests/framework/di/stubs
- tests/framework/filters/stubs
# TODO: Analyze these directories
- tests/framework/db
- tests/framework/grid
- tests/framework/helpers
- tests/framework/i18n
- tests/framework/log
- tests/framework/mail
- tests/framework/models
- tests/framework/mutex
- tests/framework/rbac
- tests/framework/requirements
- tests/framework/rest
- tests/framework/test
- tests/framework/validators
- tests/framework/web
- tests/framework/widgets
bootstrapFiles:
- framework/BaseYii.php
dynamicConstantNames:
- YII_DEBUG
- YII_ENV
- YII_ENV_DEV
- YII_ENV_PROD
- YII_ENV_TEST
ignoreErrors:
- '#Unsafe usage of new static\(\).#'