-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathinfection.json5.dist
More file actions
66 lines (66 loc) · 2.7 KB
/
Copy pathinfection.json5.dist
File metadata and controls
66 lines (66 loc) · 2.7 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
{
"$schema": "vendor/infection/infection/resources/schema.json",
"source": {
"directories": [
"src"
]
},
"timeout": 10,
"threads": "max",
"logs": {
"text": "infection.log",
"summary": "summary.log",
"stryker": {
// matches versioned release branches, e.g. "0.1.x", "0.2.x"
"badge": "/^\\d+\\.\\d+\\.x$/"
}
},
"mutators": {
"@default": true,
"DecrementInteger": {
"ignore": [
// implode() discards keys, so array_fill()'s start index cannot be observed.
"PhpDb\\Sql\\Argument\\Identifiers::getSpecification",
"PhpDb\\Sql\\Argument\\Values::getSpecification",
"PhpDb\\Sql\\Ddl\\Constraint\\ForeignKey::getExpressionData"
]
},
"IncrementInteger": {
"ignore": [
// implode() discards keys, so array_fill()'s start index cannot be observed.
"PhpDb\\Sql\\Argument\\Identifiers::getSpecification",
"PhpDb\\Sql\\Argument\\Values::getSpecification",
"PhpDb\\Sql\\Ddl\\Constraint\\ForeignKey::getExpressionData"
]
},
"MethodCallRemoval": {
"ignore": [
// Delegates to getColumnNames(), which loads the same data itself.
"PhpDb\\Metadata\\Source\\AbstractSource::getColumns"
]
},
"ReturnRemoval": {
"ignore": [
// The guard short-circuits prepareDataHierarchy(), which is itself
// idempotent, so falling through to it has no observable effect.
"PhpDb\\Metadata\\Source\\AbstractSource::loadColumnData",
"PhpDb\\Metadata\\Source\\AbstractSource::loadConstraintData",
"PhpDb\\Metadata\\Source\\AbstractSource::loadConstraintDataKeys",
"PhpDb\\Metadata\\Source\\AbstractSource::loadConstraintReferences",
"PhpDb\\Metadata\\Source\\AbstractSource::loadTableNameData",
"PhpDb\\Metadata\\Source\\AbstractSource::loadTriggerData",
// A RowGatewayInterface is neither null nor a string, so the next guard
// returns for exactly the inputs this one does.
"PhpDb\\TableGateway\\Feature\\RowGatewayFeature::postInitialize"
]
},
"TrueValue": {
"ignore": [
// The method body is empty; the flag is accepted for interface
// compatibility and never read.
"PhpDb\\TableGateway\\Feature\\EventFeature\\TableGatewayEvent::stopPropagation"
]
}
},
"staticAnalysisTool": "mago"
}