forked from PHP-CS-Fixer/PHP-CS-Fixer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
infection.json5.dist
30 lines (30 loc) · 982 Bytes
/
infection.json5.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
{
"$schema": "vendor/infection/infection/resources/schema.json",
"testFrameworkOptions": "--testsuite=unit",
"source": {
"directories": [
"src"
]
},
"mutators": {
"global-ignoreSourceCodeByRegex": [
// Don't touch version-specific code examples in rules
".*new VersionSpecification\\(.*",
// Don't touch conditions based on PHP version as these are crucial for tool to work properly
".*\\\\PHP_VERSION_ID.*",
],
"@default": true,
"Throw_": {
"ignore": [
// It makes `tests/Fixtures/cache-file-handler/cache-file` unreadable (permissions)
"PhpCsFixer\\Cache\\FileHandler"
]
},
"LogicalNot": {
"ignore": [
// Causes modifications in `tests/Fixtures/FixerTest/fix/*.php`
"PhpCsFixer\\Runner\\Runner::fixFile"
]
}
}
}