Skip to content

Commit e7a2a39

Browse files
Set up Infection
1 parent 9845dea commit e7a2a39

File tree

4 files changed

+27
-12
lines changed

4 files changed

+27
-12
lines changed

.gitattributes

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
/.github export-ignore
2-
/.phive export-ignore
3-
/.psalm export-ignore
4-
/build export-ignore
5-
/tests export-ignore
6-
/tools export-ignore
7-
/tools/* binary
8-
/.gitattributes export-ignore
9-
/.gitignore export-ignore
10-
/.php-cs-fixer.dist.php export-ignore
11-
/build.xml export-ignore
12-
/phpunit.xml export-ignore
1+
/.github export-ignore
2+
/.phive export-ignore
3+
/.psalm export-ignore
4+
/build export-ignore
5+
/tests export-ignore
6+
/tools export-ignore
7+
/tools/* binary
8+
/.gitattributes export-ignore
9+
/.gitignore export-ignore
10+
/.php-cs-fixer.dist.php export-ignore
11+
/build.xml export-ignore
12+
/infection.json5.dist export-ignore
13+
/phpunit.xml export-ignore
1314

1415
*.php diff=php

.phive/phars.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
<phar name="php-cs-fixer" version="^3.52" installed="3.52.1" location="./tools/php-cs-fixer" copy="true"/>
44
<phar name="psalm" version="^5.23" installed="5.23.1" location="./tools/psalm" copy="true"/>
55
<phar name="composer" version="^2.7" installed="2.7.2" location="./tools/composer" copy="true"/>
6+
<phar name="infection" version="^0.28" installed="0.28.1" location="./tools/infection" copy="true"/>
67
</phive>

infection.json5.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/infection/infection/0.28.1/resources/schema.json",
3+
"source": {
4+
"directories": [
5+
"src"
6+
]
7+
},
8+
"mutators": {
9+
"@default": true
10+
},
11+
"minMsi": 100,
12+
"minCoveredMsi": 100
13+
}

tools/infection

1.01 MB
Binary file not shown.

0 commit comments

Comments
 (0)