What's new in Infection 0.19.0

Oct 28, 2020

Release: https://github.com/infection/infection/releases/tag/0.19.0

New features and enhancements

PHP versions support

Infection now requires PHP 7.4+ and works on PHP 8.0 branch 🎉.

Compatibility with PHPUnit 9.3+

There were significant changes in PHPUnit 9.3 regarding XML configuration file which caused issue for Infection.

Now, Infection should be compatible with any PHPUnit version, correctly working with the old and new phpunit.xml schemas.

New Mutators

YieldValue mutator

Removes a key and leaves only a value of yield statement:

- yield $a => $b;
+ yield $b;

Enjoy!

Star