Releases: infection/infection
Releases · infection/infection
`If` condition mutators, graceful handling of `SIGINT`, PHPUnit 10 fixes and more
0.27.0 (2023-05-16)
Added:
- Add negation mutators by @manhunto in #1753
- Calculate results and show metrics if Infection is interrupted with
SIGINT
(ctrl + c) by @maks-rafalko in #1857
Changed:
- [BC BREAK] Treat log paths as relative to config directory by @LeoVie in #1851
- Do not mutate
$var instanceof ClassName
insideassert()
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:
- Upgrade PHP-CS-Fixer by @maks-rafalko in #1855
- Add GH Action to requrie tests in Pull Requests by @maks-rafalko in #1848
- Update
sebastian/differ
to the latest verions by @maks-rafalko in #1850 - Allow fidry/cpu-core-counter v0.5 by @Slamdunk in #1826
- Remove
xdebug-filter.php
as it's not used and deprecated by @maks-rafalko in #1856 - Upgrade PHPStan to the latest version and fix some errors by @maks-rafalko in #1859
- Upgrade the codebase up to PHP 8.1 syntax using Rector by @maks-rafalko in #1860
- Upgrade psalm to the latest version by @maks-rafalko in #1858
- Integrate
sidz/phpstan-rules
to avoid magic numbers in our code base by @maks-rafalko in #1861
New Contributors
Full Changelog: 0.26.21...0.27.0
Fix false-positive with mutations in attributes
0.26.21 (2023-04-27)
Fixed:
PHPUnit 10.1 support, Threads count display, less false-positives, PHP 8.0 drop
0.26.20 (2023-04-15)
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
- @icanhazstring made their first contribution in #1836
- @Neirda24 made their first contribution in #1801
PHPUnit 10 support
New logger "summaryJson"
PHP 8.2 support, different bugfixes
0.26.17 (2023-01-19)
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
`json5` config file support, `--threads=max` and `dg/bypass-finals` compatibility
Throw error with `--git-diff-lines` when `git` is not installed
Second try: correctly detect if Xdebug should be automatically enabled
Fixed:
- Running the Infection cannot detect code coverage driver correctly #1700