Skip to content

Version 2.2

Choose a tag to compare

@FireMidge FireMidge released this 18 Jul 21:51
· 5 commits to master since this release

What's New?

Feature: It is now possible to also transform values in IsStringEnumType before validating.

Feature: There is a new fromString method on IsIntType.

Other

Code coverage has been improved and is now at 100% for methods, lines and classes/traits. Mutation score has also been improved from an official 28% (which was not accurate) to 94% MSI, 97% Mutation Code Coverage and 96% Covered Code MSI, containing false positives.
image

Dev: Instead of using method-based @Covers annotations, we now have class-based @Covers annotations, which is working SO much better. Now the Infection log and coverage reports are far more accurate.

Dev: Added more tests, to bring unit test coverage up to 100%.

Dev: Throwing LogicException when trying to validate the length of a string but passing a higher $minNumber than $maxNumber.