From 165c38a034ff9e0bf1c3595a1f8632281e0b2050 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 10 Jan 2022 15:09:38 +0100 Subject: [PATCH] Updated to infection 0.26 --- CHANGELOG.md | 5 +++-- composer.json | 8 ++++++-- infection.json | 5 +++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c4a112..3736561 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org). -## [Unreleased] +## [0.2.0] - 2022-01-10 ### Added * [#12](https://github.com/shlinkio/shlink-php-client/issues/12) Created `ShlinkClientBuilder` and `SingletonShlinkClientBuilder`, which can be used to create client instances at runtime. ### Changed -* *Nothing* +* Updated to infection 0.26, enabling HTML reports. +* Added explicitly enabled composer plugins to composer.json. ### Deprecated * *Nothing* diff --git a/composer.json b/composer.json index add6fe2..29f386e 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ }, "require-dev": { "guzzlehttp/guzzle": "^7.4", - "infection/infection": "^0.25", + "infection/infection": "^0.26", "phpspec/prophecy-phpunit": "^2.0", "phpstan/phpstan": "^1.0", "phpunit/phpunit": "^9.5.4", @@ -72,6 +72,10 @@ "infect:show:ci": "Checks unit tests quality applying mutation testing with existing reports and logs and shows applied mutators" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true, + "infection/extension-installer": true + } } } diff --git a/infection.json b/infection.json index 00ce157..b93212e 100644 --- a/infection.json +++ b/infection.json @@ -7,10 +7,11 @@ "timeout": 5, "logs": { "text": "build/infection/infection-log.txt", + "html": "build/infection/infection-log.html", "summary": "build/infection/summary-log.txt", "debug": "build/infection/debug-log.txt", - "badge": { - "branch": "main" + "stryker": { + "badge": "main" } }, "tmpDir": "build/infection/temp",