From 1f1e1200ba156dcf79838849deea62daa87ea21d Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sat, 31 Oct 2026 10:12:35 +0300 Subject: [PATCH] Switch to infection/infection --- Makefile | 2 +- README.md | 5 ++--- composer.json | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 02dc7df..6c488c7 100644 --- a/Makefile +++ b/Makefile @@ -27,4 +27,4 @@ rector: ## Run rector. mutation: ## Run mutation tests. make down make build - docker compose -f tests/docker-compose.yml run php-cli ./vendor/bin/roave-infection-static-analysis-plugin + docker compose -f tests/docker-compose.yml run php-cli ./vendor/bin/infection diff --git a/README.md b/README.md index 12e4656..112af4f 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,10 @@ make test ### Mutation testing -The package tests are checked with [Infection](https://infection.github.io/) mutation framework with -[Infection Static Analysis Plugin](https://github.com/Roave/infection-static-analysis-plugin). To run it: +The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it: ```shell -./vendor/bin/roave-infection-static-analysis-plugin +./vendor/bin/infection ``` ### Static analysis diff --git a/composer.json b/composer.json index b5225e9..0a6731b 100644 --- a/composer.json +++ b/composer.json @@ -37,11 +37,11 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.95", + "infection/infection": "^0.29.8 || ^0.35.8", "phpunit/phpunit": "^10.5", "psr/container": "^2.0", "psr/log": "^3.0", "rector/rector": "^2.5.5", - "roave/infection-static-analysis-plugin": "^1.34", "shipmonk/composer-dependency-analyser": "^1.8", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^5.16",