forked from laraxot/module_user_fila3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
58 lines (45 loc) · 1.57 KB
/
phpstan.neon
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
48
49
50
51
52
53
54
55
56
57
includes:
- ./phpstan-baseline.neon
- ./../../vendor/larastan/larastan/extension.neon
#- ./../../vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
#- ./vendor/symplify/phpstan-rules/config/code-complexity-rules.neon
#- ./vendor/symplify/phpstan-rules/config/collector-rules.neon
#- ./vendor/symplify/phpstan-rules/config/naming-rules.neon
#- ./vendor/symplify/phpstan-rules/config/regex-rules.neon
#- ./vendor/symplify/phpstan-rules/config/static-rules.neon
parameters:
level: max
paths:
- .
ignoreErrors:
# - '#Unsafe usage of new static#'
- '#PHPDoc tag @mixin contains unknown class #'
- identifier: missingType.iterableValue
- identifier: missingType.generics
excludePaths:
- ./vendor/*
- ./build/*
- ./docs/*
- ./*/build/*
- ./*/vendor/*
- ./*/docs/*
- ./*/Tests/*
- ./*/_ide_helper.php
bootstrapFiles:
- ./phpstan_constants.php
- ../../vendor/autoload.php
scanFiles:
# - ./Helpers/Helper.php
# - ./vendor/amenadiel/jpgraph/src/config.inc.php
# - ../../vendor/autoload.php
scanDirectories:
- ../../vendor/
editorUrl: 'vscode://file/%%file%%:%%line%%'
tmpDir: ./build/phpstan
checkUnusedViews: false
# checkMissingIterableValueType: false
# checkGenericClassInNonGenericObjectType: false
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
checkOctaneCompatibility: false
checkModelProperties: false