Skip to content

Commit caa8d39

Browse files
authored
Switch to infection/infection (#140)
1 parent 85758b7 commit caa8d39

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/mutation.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ concurrency:
2323

2424
jobs:
2525
mutation:
26-
uses: yiisoft/actions/.github/workflows/roave-infection.yml@master
26+
uses: yiisoft/actions/.github/workflows/infection.yml@master
2727
with:
2828
os: >-
2929
['ubuntu-latest']
3030
php: >-
3131
['8.3']
32+
infection-args: --ignore-msi-with-no-mutations
3233
secrets:
3334
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
"bamarni/composer-bin-plugin": "^1.9.1",
4545
"friendsofphp/php-cs-fixer": "^3.64",
4646
"httpsoft/http-message": "^1.1.6",
47+
"infection/infection": "^0.29.8 || ^0.35.8",
4748
"phpunit/phpunit": "^10.5.45",
4849
"rector/rector": "^2.0.10",
49-
"roave/infection-static-analysis-plugin": "^1.35",
5050
"shipmonk/composer-dependency-analyser": "^1.8",
5151
"spatie/phpunit-watcher": "^1.24",
5252
"vimeo/psalm": "^5.26.1 || ^6.8.8",

‎docs/internals.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
1010

1111
## Mutation testing
1212

13-
The package tests are checked with [Infection](https://infection.github.io/) mutation framework with
14-
[Infection Static Analysis Plugin](https://github.com/Roave/infection-static-analysis-plugin). To run it:
13+
The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it:
1514

1615
```shell
17-
./vendor/bin/roave-infection-static-analysis-plugin
16+
./vendor/bin/infection
1817
```
1918

2019
## Static analysis

0 commit comments

Comments
 (0)