Repository navigation
Expand file tree
/
Copy pathphpstan.neon
More file actions
65 lines (64 loc) · 2.95 KB
/
Copy pathphpstan.neon
File metadata and controls
65 lines (64 loc) · 2.95 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
includes:
- phpstan-baseline.neon
parameters:
level: 8
paths:
- src
reportUnmatchedIgnoredErrors: false
ignoreErrors:
# Symfony Config: getRootNode() return type imprecision (NodeDefinition vs ArrayNodeDefinition)
- identifier: method.notFound
path: '*Configuration*.php'
- identifier: method.notFound
path: '*Configuration/*.php'
- identifier: method.nonObject
path: src/Runtime/Pipeline/Configuration.php
# Action: State builder returns Stmt, withState/addAction expect Expr (API mismatch)
- message: '~withState\(\) expects PhpParser\\Node\\Expr~'
path: src/Action/Action.php
- message: '~addAction\(\) expects.*PhpParser\\Node\\Expr~'
path: src/Action/Action.php
# API client return types: instanceof narrowing
- identifier: instanceof.alwaysFalse
path: src/Cloud/Pipeline.php
- identifier: instanceof.alwaysFalse
path: src/Cloud/Workflow.php
# Cloud API: array_map callback types, Deferred generics, API type mismatches
- identifier: argument.type
path: src/Cloud/Workflow.php
- identifier: argument.type
path: src/Cloud/Pipeline.php
- identifier: missingType.generics
path: src/Cloud/CommandBus.php
- identifier: function.impossibleType
path: src/Cloud/Pipeline.php
- identifier: function.impossibleType
path: src/Cloud/Workflow.php
- identifier: deadCode.unreachable
path: src/Cloud/Pipeline.php
- identifier: deadCode.unreachable
path: src/Cloud/Workflow.php
# Composer Configuration: closure return type inference
- identifier: return.type
path: src/Feature/Composer/Configuration.php
- identifier: missingType.iterableValue
- identifier: parameter.implicitlyNullable
- message: '~Unable to resolve the template type T in call to function~'
- message: '~expects PhpParser\\Node\\Expr, PhpParser\\Node given~'
- message: '~expects string, string\|false given~'
- message: '~does not accept array~'
- message: '~pipe\(\) expects~'
- message: '~IteratorAggregate but does not specify its types~'
- message: '~has no return type specified~'
- message: '~Binary operation.*between int\|string~'
- message: '~expects string, string\|null given~'
- message: '~InMemory constructor expects string, array\|string given~'
- message: '~registerProvider\(\) expects~'
- message: '~is unused~'
- message: '~ReflectionAttribute but does not specify its types~'
- identifier: property.onlyWritten
- message: '~expects.*PipelinePluginInterface~'
- message: '~expects.*PluginConfigurationInterface~'
- message: '~Cannot access offset string on iterable~'
- message: '~Node\\\\Expr~'
- message: '~Return_ constructor~'