Skip to content

Commit

Permalink
test: Ignore PHP version related mutations (#7935)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirone committed Apr 11, 2024
1 parent 64567d1 commit 75168ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infection.json5.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
]
},
"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": [
Expand Down

0 comments on commit 75168ee

Please sign in to comment.