Infection v0.9.0 Release Notes

Release Date: 2018-07-02 // over 5 years ago
  • Full Changelog

    BC Breaks:

    โž• Added:

    • ๐Ÿ”‹ Feature: Profiles #220
    • Mutation badge #207
    • ๐Ÿ”‹ Feature:disable certain mutators #177
    • โž• Add reflection classes to mutators. Do no mutate public method visibility if parent has the same one #67
    • [Mutator] IdenticalEqual and NotIdenticalNotEqual mutators #298
    • ๐Ÿšš [Mutator] Remove type cast operators #297
    • ๐Ÿšš [Mutator] Add mutator that removes finally {} block #261
    • [Mutator] Yield Mutator #242
    • [Mutator] ArrayItem Mutator #240
    • โœ… [Mutator] Add a For Loop mutator & test #230
    • [Mutator] Add Assignment Equal Mutator #229
    • [Mutator] Add Assignment Mutator #228
    • [Mutator] Add the first regex mutator #333 (BackEndTea)
    • ๐Ÿ“œ Use PHP-Parser 4 to preserve mutated code formatting #55
    • ๐Ÿš€ [epic] Scope and deploy signed PHAR #338
    • โž• Add a per mutator logging option #346 (BackEndTea)
    • ๐Ÿš€ Update travis config to deploy PHAR and pubkey on releases #353 (borNfreee)

    ๐Ÿ”„ Changed:

    • Xdebug/ phpdbg check should be later in the infection process #325
    • 0๏ธโƒฃ Stop mutation of abstract methods default parameters #361 (BackEndTea)
    • โž• Add a test to check whether classes are unit tested #360 (BackEndTea)
    • โœ… Clean up after Mutation testing has been finished #357 (sidz)
    • Simplify the EventDispatcher #348 (BackEndTea)

    ๐Ÿ›  Fixed:

    • infection ignores phpunit.xml bootstrap file #320
    • False positive when calculation is in multiple lines #366
    • ๐Ÿ‘ Allow Absolute Path to phpunit.xml(.dist) #387 (adeptofvoltron)
    • Account for statements spanning multiple lines #375 (sanmai)
    • Look for .bat on all platforms #374 (sanmai)
    • False positive: count(-1) (decrement integer mutator) #364
    • ๐Ÿ Infection works incorrectly on Windows #351
    • ๐Ÿณ Weird behaviour in Docker container #332
    • ๐ŸŽ‰ Initial test suite may fail to deliver coverage, e.g. under Docker #306
    • Infection infects /tmp #356
    • Infection does not correctly detect whether phpunit is php-executable #300
    • Infection can't report on effectiveness of mutators #271
    • Do not decrement integer 0 when it is being compared with the result of count() #365 (borNfreee)