Skip to content

Releases: infection/infection

`If` condition mutators, graceful handling of `SIGINT`, PHPUnit 10 fixes and more

16 May 05:28
Compare
Choose a tag to compare

0.27.0 (2023-05-16)

Full Changelog

Added:

Changed:

  • [BC BREAK] Treat log paths as relative to config directory by @LeoVie in #1851
  • Do not mutate $var instanceof ClassName inside assert() function as it's impossible or hard to kill by @maks-rafalko in #1852

Fixed:

  • During all "unwrap" functions, return the real values instead of values wrapped with Node\Arg() class by @maks-rafalko in #1853
  • Make PHPUnit 10.1 XML coverage report and test cases names with provider compatible with Infection and old format by @maks-rafalko in #1854

Internal:

New Contributors

Full Changelog: 0.26.21...0.27.0

Fix false-positive with mutations in attributes

27 Apr 19:17
9bbe499
Compare
Choose a tag to compare

0.26.21 (2023-04-27)

Full Changelog

Fixed:

  • Fix node being undetected as part of function signature when too deeply nested. by @niconoe- in #1847

PHPUnit 10.1 support, Threads count display, less false-positives, PHP 8.0 drop

14 Apr 21:40
Compare
Choose a tag to compare

0.26.20 (2023-04-15)

Full Changelog

Added:

  • Add support for PHPUnit 10.1 and use <source /> tag for coverage instead of <coverage /> by @maks-rafalko
  • Log thread count as part of performance by @icanhazstring in #1836

Changed:

  • Bump minimum PHP version required to PHP 8.1 by @theofidry in #1765
  • Declare conflict with uncompatible versions of antecedent/patchwork by @sanmai in #1829
  • Change CDN URL for mutation-testing-elements.js by @maks-rafalko in #1830
  • Trying to remove false positive on logical or. by @Neirda24 in #1801

New Contributors

PHPUnit 10 support

05 Feb 21:49
Compare
Choose a tag to compare

0.26.19 (2023-02-06)

Full Changelog

Added:

New logger "summaryJson"

20 Jan 23:12
Compare
Choose a tag to compare

0.26.18 (2023-01-21)

Full Changelog

Added:

  • New logger "summaryJson" - machine-readable file in JSON format by @niconoe- (#1808)

New Contributors

PHP 8.2 support, different bugfixes

19 Jan 17:27
Compare
Choose a tag to compare

0.26.17 (2023-01-19)

Full Changelog

Added:

  • PHP 8.2 support
  • Improve CPU core count detection: integrate FidryCpuCoreCounter @theofidry #1767

Fixed:

  • ArrayItemRemoval mutator should not mutate an array when set as an attributes argument @sidz #1797
  • PHP Warning on startup when using Infection from PHAR @sanmai #1770
  • PHP 8.2: Deprecated: Use of "static" in callables is deprecated in .../vendor/webmozart/assert/src/Assert.php on line 939 #1802
  • False positive: Throw_ mutant not covered by tests #1778
  • Line CodeCoverage is not a reliable source of truth #1750
  • Fallback to unknown version if not running under Composer API 2 #1771

Contributors

New mutators, fix for anonymous classes inside arrays

22 Oct 10:09
Compare
Choose a tag to compare

0.26.16 (2022-10-22)

Full Changelog

Added:

  • Add new MatchArmRemoval mutator #1744
  • Add new CatchBlockRemoval mutator #1742
  • Add new Catch_ mutator #1741
  • Add new UnwrapFinally mutator #1740

Fixed:

  • Fix the issue with anonymous classes inside arrays #1745

Changed:

  • Do not mutate coalesce operator in the Assignment mutator mutator #1739
  • Make CPU cores count more tolerant towards system command errors #1733

`json5` config file support, `--threads=max` and `dg/bypass-finals` compatibility

17 Sep 08:26
cac814f
Compare
Choose a tag to compare

Added:

  • Add support for json5 configuration file format #1727
  • Introduce --threads=max option value to automatically detect the number of CPU cores #1723
  • Compatibility with dg/bypass-finals #1728

Fixed:

  • Do not mutate Coalesce operator when null is used on the right #1726

Throw error with `--git-diff-lines` when `git` is not installed

31 Aug 22:17
Compare
Choose a tag to compare

Fixed:

  • GitDiffFileProvider: execute single program processes to allow errored exits to be caught #1720

Added:

  • Display generated log file reports to console output #1711

Second try: correctly detect if Xdebug should be automatically enabled

23 Jun 12:52
c2f121b
Compare
Choose a tag to compare

Fixed:

  • Running the Infection cannot detect code coverage driver correctly #1700