Repository navigation
Expand file tree
/
Copy pathextension.neon
More file actions
67 lines (65 loc) · 1.75 KB
/
Copy pathextension.neon
File metadata and controls
67 lines (65 loc) · 1.75 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
66
67
parametersSchema:
effects: structure({
stubs: listOf(anyOf(
structure({method: string(), effects: listOf(string())}),
structure({function: string(), effects: listOf(string())})
)),
rules: listOf(structure({
classPattern: string(),
methodPattern: string(),
effectFree: listOf(string()),
?exclude: listOf(string())
})),
allowedEffects: listOf(string()),
excludeImplementationsFrom: listOf(string())
})
parameters:
effects:
stubs: []
rules: []
allowedEffects: []
excludeImplementationsFrom:
- 'Tests\*'
- '*\Tests\*'
services:
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\EffectAttributeReader
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\MethodDeclarationCollector
tags:
- phpstan.collector
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\FunctionDeclarationCollector
tags:
- phpstan.collector
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\CallResolver
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\CallCollector
tags:
- phpstan.collector
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\MethodCallableCollector
tags:
- phpstan.collector
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\StaticMethodCallableCollector
tags:
- phpstan.collector
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\FunctionCallableCollector
tags:
- phpstan.collector
-
class: DaveLiddament\PhpstanEffectSystem\Collectors\ClassHierarchyCollector
tags:
- phpstan.collector
-
class: DaveLiddament\PhpstanEffectSystem\Rules\EffectSystemRule
tags:
- phpstan.rules.rule
arguments:
stubs: %effects.stubs%
rules: %effects.rules%
allowedEffects: %effects.allowedEffects%
excludeImplementationsFrom: %effects.excludeImplementationsFrom%