This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
infection.json.dist
79 lines (79 loc) · 2.69 KB
/
infection.json.dist
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
68
69
70
71
72
73
74
75
76
77
78
79
{
"source": {
"directories": [
"src"
]
},
"timeout": 10,
"logs": {
"text": "php://stdout",
"badge": {
"branch": "master"
}
},
"mutators": {
"@default": true,
"global-ignoreSourceCodeByRegex": [
"\\\\assert\\(.+\\);",
"\\$consumed ..?= .+;",
"(\\$.+ \\.?= )?(pack|unpack)\\('\\w+', .+\\).?",
".*(0xffffffff|\\$this->totalLength|\\$this->originalSize|\\$this->compressedSize|\\$fileFooter|\\$cdrFile|\\$cdr64Eof|\\$cdr64Locator|\\$cdrEof).*",
"return \\$d\\['year'\\] << 25 | \\$d\\['mon'\\] << 21 | \\$d\\['mday'\\] << 16 | \\$d\\['hours'\\] << 11 | \\$d\\['minutes'\\] << 5 | \\$d\\['seconds'\\] >> 1;"
],
"ConcatOperandRemoval": {
"ignoreSourceCodeByRegex": [
"\\$newBucketData .= basename\\(\\$this->filename\\) . \"\\\\x00\";"
]
},
"FalseValue": {
"ignoreSourceCodeByRegex": [
"\\$footer = \\$this->buildZip64ExtraBlock\\(false\\);"
]
},
"FunctionCallRemoval": {
"ignoreSourceCodeByRegex": [
"sodium_memzero\\(.+\\);"
]
},
"Identical": {
"ignoreSourceCodeByRegex": [
"if \\('' === \\$this->buffer && !\\$closing\\) {"
]
},
"LessThanOrEqualTo": {
"ignoreSourceCodeByRegex": [
"while \\(self::ENCRYPT_READ_BYTES <= \\\\strlen\\(\\$this->buffer\\) || \\$closing\\) {"
]
},
"LessThanOrEqualToNegotiation": {
"ignoreSourceCodeByRegex": [
"while \\(\\$(readChunkSize|writeChunkSize) <= \\\\strlen\\(\\$this->buffer\\) || \\$closing\\) {"
]
},
"LogicalAnd": {
"ignoreSourceCodeByRegex": [
"if \\(\\$closing && '' === \\$this->buffer\\) {"
]
},
"NotIdentical": {
"ignoreSourceCodeByRegex": [
"if \\(\\[\\] !== \\$fields\\) {"
]
},
"TrueValue": {
"ignoreSourceCodeByRegex": [
"self::\\$filterRegistered = true;",
"\\$footer = \\$this->buildZip64ExtraBlock\\(true\\);"
]
},
"UnwrapSubstr": {
"ignoreSourceCodeByRegex": [
".+ = substr\\(\\$this->buffer,( 0,)? \\$(read|write)ChunkSize\\);",
"\\$header = substr\\(\\$this->buffer, 0, self::HEADER_LENGTH\\);",
"\\$data = substr\\(\\$data, 0, \\$dataDescriptorPosition\\);"
]
}
},
"minMsi": 100,
"minCoveredMsi": 100
}