What's new in Infection 0.15.0
Sep 29, 2019
We changed a path for
JUnit report expected by Infection when existing coverage is provided.
We are happy to announce Codeception + Infection integration, one of the most upvoted feature request.
Let’s bring a new level of tests quality for Codeception users!
Infection is now fully compatible with PHP 7.4.
Infection is now fully compatible with Symfony 4.4 and Symfony 5.0.
Now, you van enable
pcov for Initial Tests run in Infection to generate coverage:
$ infection --initial-tests-php-options='-d extension=pcov.so'
Little, but useful enhancement: we’ve added a version number right under Infection ASCII banner (like Composer does it):
$ infection --threads=4
$now = new \DateTime();
This mutator helps to find unnecessary or untested cloning.
This mutator takes the third argument of
str_replace() function and assigns it to the variable.
- $a = str_replace('Afternoon', 'Evening' ,'Good Afternoon!');