-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathinfection.json5
More file actions
40 lines (40 loc) · 1.63 KB
/
infection.json5
File metadata and controls
40 lines (40 loc) · 1.63 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
{
"$schema": "https://raw.githubusercontent.com/infection/infection/0.30.0/resources/schema.json",
"source": {
"directories": [
"src"
]
},
"mutators": {
"@default": true,
"YieldValue": {
"ignore": [
// Equivalent mutation: entries array always has sequential 0-indexed keys,
// so yield $index => $cloned is equivalent to yield $cloned (PHP auto-generates same keys)
"Deviantintegral\\Har\\Har::splitLogEntries"
]
},
"MethodCallRemoval": {
"ignore": [
// Equivalent mutation: params are modified in place via setValue(), and setQueryString
// just sets the same array back - removing it doesn't change behavior
"Deviantintegral\\Har\\HarSanitizer::sanitizeQueryParams"
]
},
"LogicalAnd": {
"ignore": [
// Equivalent mutation: when hasText() is false but isJsonMimeType() is true,
// sanitizeJsonText(null) returns null, so setText is not called - same behavior
"Deviantintegral\\Har\\HarSanitizer::sanitizePostData",
"Deviantintegral\\Har\\HarSanitizer::sanitizeContent"
]
},
"ReturnRemoval": {
"ignore": [
// Equivalent mutation: removing early return for empty string falls through to
// json_decode('') which fails with JSON_ERROR_SYNTAX, then error check returns null anyway
"Deviantintegral\\Har\\HarSanitizer::sanitizeJsonText"
]
}
}
}