All Versions
59
Latest Version
Avg Release Cycle
35 days
Latest Release
103 days ago

Changelog History
Page 5

  • v0.12.0 Changes

    January 24, 2019

    Full Changelog

    BC Breaks:

    • Disabling mutating "true" -> "false" in TrueValue mutator for in_array/array_search #599

    โž• Added:

    • ๐Ÿ‘ Allow settings for Mutators #206
    • โœจ Enhancement: Implement UnwrapArrayUdiffAssoc mutator #614
    • โœจ Enhancement: Implement UnwrapArraySplice mutator #605
    • โœจ Enhancement: Implement UnwrapArraySlice mutator #598
    • โœจ Enhancement: Implement UnwrapArrayMergeRecursive mutator #594
    • โœจ Enhancement: Implement UnwrapArrayIntersectUkey mutator #593
    • โœจ Enhancement: Implement UnwrapArrayIntersectUassoc mutator #591
    • โœจ Enhancement: Implement UnwrapArrayColumn mutator #590
    • โœจ Enhancement: Implement UnwrapArrayIntersectKey mutator #584
    • โœจ Enhancement: Implement UnwrapArrayDiffUkey mutator #583

    ๐Ÿ›  Fixed:

    • โœ… Schema does not include initialTestsPhpOptions #606
    • Space in PHP interpreter path breaks Infection #600
    • Starting infection via phing differs from commandline #592
    • ๐Ÿ‘ symfony/phpunit-bridge isn't supported #588
    • Symfony flex should correctly detect phpunit executable #493

    ๐Ÿ”„ Changed:

    • ๐ŸŒฒ Running command with --only-covered should add in log only covered code. #581
    • โž• Add a test to check Infection works with PSR-0 compliant autoloader #579
    • โšก๏ธ Update gitattributes file #532
  • v0.11.0 Changes

    November 11, 2018

    Full Changelog

    BC Breaks:

    • โž• Add counterparts to identical mutator and remove them from default #391 (BackEndTea)

    โž• Added:

    ๐Ÿ›  Fixed:

    • ๐Ÿš€ Do not require dev packages on Deploy stage #445 (borNfreee)
    • โœ… Batch file invoked with php - breaks test framework version #469
    • Validate that infection.json contains valid (writable) file paths for loggers #458 (borNfreee)
    • ๐Ÿ›  Fix .bat files being invoked with php #470 (johnstevenson)
    • โœ… Exclude --testsuite from PhpUnit mutant options, but allow for initial process #480
    • โœ… Extend TestFrameworkExtraOptions to cover more complex usages of options #483 (tomtomau)
    • Restrict installation with broken versions of symfony/console #523 (sanmai)
    • ๐Ÿ›  Fix Decrement integer #485 (BackEndTea)
    • โšก๏ธ Update ProtectedVisibility/PublicVisibility to guard against missing reflection #502 (sanmai)
    • โšก๏ธ Update TestFrameworkFinder to always look for a .bat first. #506 (sanmai)
    • โœ… TestFrameworkFinderTest fails to run on Mac OS X #504
    • PublicVisibility mutator failing due to missing reflection #501
    • ๐Ÿ --initial-tests-php-options ignored on Windows #471
    • Do not mutate the code inside plain functions #466
    • Infection does not fail gracefully on an invalid phpunit.xml #409
    • Do not mutate code that is ignored from code coverage #407
    • ๐Ÿ›  Fix: Keep mutators in mutator profiles sorted by name #541 (localheinz)

    ๐Ÿ”„ Changed:

    • ๐ŸŒฒ Rename infection-log.txt -> infection.log #454 (borNfreee)
    • ๐Ÿ‘Œ Improve compatibility with framework based applications #440 (patrickfunke)
    • โž• Add some breathing space around our logo #509 (sanmai)
    • 0๏ธโƒฃ Explicitly add the default profile to the list of mutators #507 (sanmai)
    • Do not travers plain functions unless they are in the method or closures #508 (borNfreee)
    • Do not mutate interfaces #548 (sanmai)
    • Include the complete license in headers #528 (sanmai)
  • v0.10.0 Changes

    August 11, 2018

    Full Changelog

    BC Breaks:

    • โฌ‡๏ธ Drop PHP 7.0 support #414

    โž• Added:

    ๐Ÿ›  Fixed:

    • 100% MSI reported even if a small number of uncovered mutations is found #426
    • Round MSI down to the smallest integer, instead of nearest #431 (sanmai)
    • Space in directory path breaks Infection #413
    • BadgeLogger now reports exact errors #405 (sanmai)
    • Quiet mode is as quiet as one can expect it to be #403
    • ๐Ÿ›  Fix exclude to excludes for generated config file #423 (BackEndTea)
    • โšก๏ธ Brew installation isn't supported anymore or docs aren't updated #416
  • v0.9.0 Changes

    July 02, 2018

    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)
  • v0.8.0 Changes

    February 27, 2018

    Full Changelog

    BC Breaks:

    • ๐Ÿ‘‰ Make paths in config file relative to config file #165 (BackEndTea)
    • โœ‚ Remove exclude option from config #155 (sidz)

    Implemented enhancements:

    • Implement integer increment and decrement mutators #152 (localheinz)
    • Implement Throw mutator #164 (BackEndTea)
    • ๐Ÿ‘‰ Use existing coverage reports #176 (borNfreee)
    • Do not require Xdebug/phpdbg when existing coverage is provided #183 (sidz)
    • โž• Add an option to pass additional parameters to the PHP binary #185 (sidz)
    • ๐Ÿ‘ Allow relative path for tmpDir config setting. #151 (borNfreee)
    • ๐Ÿ‘ Allow coverage of function signatures of traits #191 (BackEndTea)

    ๐ŸŽ Performance:

    • ๐Ÿ›  Fix performance issue in SourceFilesFinder #186 (borNfreee)
    • ๐Ÿ–จ Reuse created mutant files to avoid traversing and pretty printing #184 (borNfreee)

    ๐Ÿ›  Fixed bugs:

    • ๐Ÿ Windows can't open this file when composer.phar is found #196
    • Infection ignores coverage on trait(s) #189
    • Existing coverage: "cannot load zend opcache" #182
    • ๐Ÿ“œ Phpunit "excludes" are not properly parsed #167
    • ๐Ÿ‘ Allow coverage of function signatures of traits #191 (BackEndTea)
    • ๐Ÿ›  Fix: Don't mutate abstract methods #169 (BackEndTea)
    • Don't try to expand directories with \* and \*\* (glob pattern) #171 (sidz)
  • v0.7.1 Changes

    February 02, 2018

    Full Changelog

    ๐Ÿ—„ Deprecated:

    • ๐Ÿ—„ exclude option in infection.json is Deprecated! and will be removed in 0.8.0. Use excludes instead

    Implemented enhancements:

    • ๐Ÿ‘ PHPUnit 7.0 support
    • โœ‚ Remove tests/test folders when infection is run for root directory. Wโ€ฆ #117 (borNfreee)
    • Config setting for temp files #140 (sidz)
    • ๐Ÿ‘‰ Make Humbug's config to be compatible with Infection #120 (sidz)
    • โž• added new types of logs (debug, summary) #135 (BackEndTea)

    ๐Ÿ›  Fixed bugs:

    • PHP DOM Extension not working when explicitly enabled twice #125
    • ๐Ÿ–จ Infection not working if using custom printer #108
    • Infection not working with phpdbg #106
    • Startup problem #104
    • 0๏ธโƒฃ Default values of functions not being found by coverage #101
    • disable colors options #99
    • Mutations not working well with function_exists #97
    • Not covered mutant with switch(true) -> switch(false) mutation #34
    • ๐Ÿ›  Fix: mutate methods but not functions #113 (BackEndTea)

    ๐Ÿ”€ Merged pull requests:

    • ๐Ÿ”‹ Feature: e2e tests #135 (BackEndTea)
    • โœจ Enhancement: Keep packages sorted #149 (localheinz)
    • โœจ Enhancement: Allow to install sebastian/diff:3.0 #148 (localheinz)
    • ๐Ÿšš Rework InfectionApplication class and remove 'application' service #146 (sidz)
    • โœ… Skip XdebugHandlerTest when infection is running via phpdbg #145 (sidz)
    • ๐Ÿ›  Fix: Disable xdebug before composer analyze on travis #136 (BackEndTea)
    • ๐Ÿ›  Fix: Use actual name #133 (localheinz)
    • โšก๏ธ Update IOException #132 (BackEndTea)
    • โšก๏ธ Update symfony/process as it has an issue which introduced by 3.4.2 #131 (sidz)
    • Give higher priority to custom config path #130 (BackEndTea)
    • Ignore fixtures from cs fixer #128 (BackEndTea)
    • โž• Add tests #124 (BackEndTea)
    • ๐Ÿ›  Fix: Change is function signature check #123 (BackEndTea)
    • โž• Add header comment to php-cs fixer #119 (BackEndTea)
    • ๐Ÿšš Move Files folder into the Fixtures folder #118 (BackEndTea)
    • ๐Ÿ›  fix small typos #116 (teiling88)
    • โšก๏ธ Update gitattributes #112 (BackEndTea)
    • ๐Ÿ›  Fix: remove printer attributes from phpunit #110 (BackEndTea)
    • ๐Ÿ›  Fix phpdbg issue caused by xdebug disabling feature #107 (sidz)
    • 0๏ธโƒฃ Parse only PHP files by default #105 (borNfreee)
    • โž• Add credits #102 (theofidry)
    • ๐Ÿ›  Fix issue with --no-ansi flag #100 (sidz)
    • PHPSPEC - If you had a custom bootstrap file in the phpspec.yml it would generate the autoload without the semicolon. #98 (AliceIW)
  • v0.7.0 Changes

    December 22, 2017

    Full Changelog

    ๐ŸŽ Performance:

    • Disable xdebug for all php processes except code coverage generator #85 (sidz)
    • ๐Ÿ“œ Parse each source file just 1 time, cache original file AST #95 (borNfreee)

    ๐Ÿ”€ Merged pull requests:

    ๐Ÿ›  Fixed bugs:

    • ๐Ÿ›  Fix issue when custom path for test framework exists #93 (sidz)

    Closed issues:

    • โž• Add comma separated files filter #84 (Landerstraeten)
    • Is Infection compatible with PHPUnit 5.x ? #83
    • ๐Ÿ”‹ Feature Request: Add line numbers to diffs on Escaped mutants #72
    • โšก๏ธ [WIP] Optimize PHP files parsing #86
  • v0.6.2 Changes

    November 18, 2017

    Full Changelog

    Implemented enhancements:

    • Console logger output format to be compatible with TextFile logger format #80 (sidz)

    ๐Ÿ›  Fixed bugs:

    • Do not return path of config file when dir is expected. #82 (borNfreee)

    Closed issues:

    • Uncovered Mutations not logged? #78

    ๐Ÿ”€ Merged pull requests:

    • ๐Ÿ‘Œ Improve the order script execution for travis #81 (sidz)
  • v0.6.1 Changes

    November 18, 2017

    Full Changelog

    ๐ŸŽ Performance:

    • ๐Ÿ–จ Reuse Parser, Lexer, PrettyPrinter #76 (borNfreee)
    • Skip composer config bin-dir check if custom path exists #66 (sidz)

    Developer Experience (DX):

    • โœ… Display test framework output when initial tests fail #65 (borNfreee)
    • ๐Ÿ”Š Show fatal errors in the console and file logs #64 (borNfreee)
    • โž• Add Log verbosity #56 (sidz)
    • ๐ŸŽ Infection can be installed via Homebrew on MacOS

    ๐Ÿ›  Fixed bugs:

    • โš  Warning with empty PHPUnit bootstrap #74
    • ๐Ÿ‘€ PublicVisibility mutator seen as escaped mutant for a class implementing an interface #60
    • Source files outside the src folder always skipped #57
    • ๐Ÿ‘ท Show correct type of error message for CI flags #68 (dmecke)

    Closed issues:

    • โœ… Tests do not pass. Error code 2. "Misuse of shell builtins". STDERR #61
    • ๐ŸŒฒ Hide killed mutants in output log? #54
    • โœ… Tests do not pass. Error code 255. "Unknown error". STDERR: #43
    • Coverage data missing #30

    ๐Ÿ”€ Other merged pull requests:

  • v0.6.0 Changes

    October 09, 2017

    Full Changelog

    Closed issues:

    • [New Mutator] Swap arguments in the Spaceship operator #47

    ๐Ÿ”€ Merged pull requests:

    • โฌ†๏ธ Upgrade Mockery to 1.0 #50 (borNfreee)
    • Compatibility with PHPUnit 6.4 #49 (morozov)
    • โž• Add composer script for static analyzing tools #46 (borNfreee)
    • ๐Ÿ›  Fix performance bottleneck by introducing a simple instance-level object cache #44 (borNfreee)
    • Zero iteration mutator #52 (sidz)
    • โž• Add Break-Continue mutators #51 (sidz)
    • Swap arguments on spaceship operator #48 (marcosh)