-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
43 lines (42 loc) · 1.24 KB
/
Copy pathphpstan.dist.neon
File metadata and controls
43 lines (42 loc) · 1.24 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
includes:
- extension.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
phpVersion:
min: 80200
max: 80599
level: 10
tmpDir: build/phpstan
paths:
- src
- tests
excludePaths:
analyseAndScan:
- src/ComposerScripts.php
- tests/data/**
- tests/Fixtures/**
bootstrapFiles:
- bootstrap.php
ignoreErrors:
-
message: '#^Call to internal method PHPStan\\Rules\\RuleErrorBuilder::fixNode\(\) from outside its root namespace PHPStan\.$#'
identifier: method.internal
# Retyping an entity property by the producing model's casts has no public API and must reach into
# PHPStan's property-prototype internals.
-
identifier: phpstanApi.method
path: src/Type/ModelCastEntityType.php
-
identifier: phpstanApi.constructor
path: src/Type/ModelCastEntityType.php
exceptions:
check:
throwTypeCovariance: true
checkBenevolentUnionTypes: true
checkMissingCallableSignature: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkTooWideThrowTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
reportAlwaysTrueInLastCondition: true
reportAnyTypeWideningInVarTag: true
treatPhpDocTypesAsCertain: false