Skip to content

Commit

Permalink
Set up Infection
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Apr 4, 2024
1 parent 9a38358 commit 1271f16
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
25 changes: 13 additions & 12 deletions .gitattributes
@@ -1,14 +1,15 @@
/.github export-ignore
/.phive export-ignore
/.psalm export-ignore
/build export-ignore
/tests export-ignore
/tools export-ignore
/tools/* binary
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/build.xml export-ignore
/phpunit.xml export-ignore
/.github export-ignore
/.phive export-ignore
/.psalm export-ignore
/build export-ignore
/tests export-ignore
/tools export-ignore
/tools/* binary
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/build.xml export-ignore
/infection.json5.dist export-ignore
/phpunit.xml export-ignore

*.php diff=php
11 changes: 5 additions & 6 deletions infection.json → infection.json5.dist
@@ -1,13 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/infection/infection/0.28.1/resources/schema.json",
"phpUnit": {
"customPath": "tools/phpunit"
},
"source": {
"directories": [
"src"
]
},
"phpUnit": {
"customPath": "tools/phpunit"
},
"bootstrap": "vendor/autoload.php",
"mutators": {
"@default": true,
"Continue_": {
Expand All @@ -17,6 +17,5 @@
}
},
"minMsi": 100,
"minCoveredMsi": 100,
"testFrameworkOptions": "--testsuite=unit"
"minCoveredMsi": 100
}

0 comments on commit 1271f16

Please sign in to comment.