Skip to content

Commit e65a83a

Browse files
authored
Remove infection
1 parent c8ecf84 commit e65a83a

File tree

6 files changed

+0
-49
lines changed

6 files changed

+0
-49
lines changed

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/.editorconfig export-ignore
55
/.gitattributes export-ignore
66
/.gitignore export-ignore
7-
/infection.json export-ignore
87
/Makefile export-ignore
98
/phpstan.neon export-ignore
109
/phpunit.xml export-ignore

.github/CONTRIBUTING.md

-12
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@ make test
4040

4141
to run all the tests.
4242

43-
## Mutation Tests
44-
45-
We are using [`infection/infection`](https://github.com/infection/infection) to ensure a minimum quality of the tests.
46-
47-
Enable `Xdebug` and run
48-
49-
```bash
50-
make infection
51-
```
52-
53-
to run mutation tests.
54-
5543
## Extra lazy?
5644

5745
Run

.github/workflows/validate.yml

-16
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,3 @@ jobs:
112112
- run: vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml
113113

114114
- uses: codecov/codecov-action@v3
115-
116-
mutation-tests:
117-
runs-on: ubuntu-latest
118-
119-
steps:
120-
- uses: actions/checkout@v4
121-
122-
- uses: shivammathur/setup-php@v2
123-
with:
124-
coverage: pcov
125-
extensions: mbstring
126-
php-version: 8.3
127-
128-
- run: composer install --no-interaction --no-progress --no-suggest
129-
130-
- run: vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60

Makefile

-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ php-cs-fixer:
2323
mkdir --parents .build/php-cs-fixer
2424
vendor/bin/php-cs-fixer fix --cache-file=.build/php-cs-fixer/cache
2525

26-
.PHONY: infection
27-
infection: vendor ## Runs mutation tests with infection
28-
mkdir --parents .build/infection
29-
vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60
30-
3126
.PHONY: stan
3227
stan: vendor ## Runs a static analysis with phpstan
3328
mkdir --parents .build/phpstan

composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
},
2626
"require-dev": {
2727
"ergebnis/composer-normalize": "^2",
28-
"infection/infection": "^0.26 || ^0.27",
2928
"jangregor/phpstan-prophecy": "^1",
3029
"mll-lab/graphql-php-scalars": "^6",
3130
"mll-lab/php-cs-fixer-config": "^5",

infection.json

-14
This file was deleted.

0 commit comments

Comments
 (0)