Releases: infection/infection
Releases · infection/infection
Custom Mutators 🎉
Added:
- Support custom mutators by @vss414 in #1686
- Custom mutator generator by @maks-rafalko in #1969
Read about how to create custom mutators: https://infection.github.io/guide/custom-mutators.html
Changed:
- Move
Infection\Mutator\Mutator
to a separate package by @maks-rafalko in #1963 - Make
Mutator::getDefinition
return type non-nullable by @maks-rafalko in #1958 - Enable Rector's
AddCoversClassAttributeRector
rule by @maks-rafalko in #1962 - Mention Discord instead of Slack in issue github template by @staabm in #1951
- test: Force mutators to include remedies by @theofidry in #1954
- Use the latest composer 2 to prevent issue with incompatibility for Box and composer 2.1 by @maks-rafalko in #1957
- Use the latest v1 test checker action by @maks-rafalko in #1960
- Upgrade Rector and fix new issues by @maks-rafalko in #1961
- Use new PHP-CS-Fixer with parallelization by @maks-rafalko in #1964
- Remove our own custom FQCN visitor as we already use php-parser's
NameResolver
visitor by @maks-rafalko in #1967 - Replace deprecated constant
NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN
withNodeVisitor::DONT_TRAVERSE_CURRENT_AND_CHILDREN
by @maks-rafalko in #1968 - Remove our own
ParentConnectorVisitor
and usenikic-phpparser
's one by @maks-rafalko in #1970
New Contributors
Full Changelog: 0.28.1...0.29.0
Use CI (GitHub, GitLab) variable to detect project path
Add PHP-Parser 5 support
Add `--map-source-class-to-test` option to speed up Mutation Testing
Added:
- Reduce "Initial Tests Run" stage time by running only covering test files by @maks-rafalko in #1919 (docs)
Changed:
- Change table tests to use static methods by @sanmai in #1922
- Additional PHPUnit 10 compatibility fixes by @sanmai in #1923
- build: Upgrade to fidry/makefile 1.0 by @theofidry in #1925
- styles: Enable the trailing comma PHP-CS-Fixer rule by @theofidry in #1927
- styles: Exclude the Box debug directory from PHP-CS-Fixer by @theofidry in #1928
- build: Remove Symfony PHPUnitBridge by @theofidry in #1926
- styles: Update to PHP-CS-Fixer 3.52.0 by @theofidry in #1929
- styles: Leverage the PHP class keyword by @theofidry in #1931
- styles: Enable PHP-CS-Fixer array_indentation rule by @theofidry in #1936
- Remove php 8.3 and symfony 7.0 hacks in CI as no longer needed by @sidz in #1930
- styles: Enable and apply heredoc_indentation rule by @sanmai in #1939
- styles: Enable back the fully_qualified_strict_types PHP-CS-Fixer rule by @theofidry in #1934
- Fix InitialTestsRunnerTest by @sanmai in #1938
Full Changelog: 0.27.10...0.27.11
Add support for `sebastian/diff` v6
Fix an issue with numeric data provider keys in PHPUnit >= 10
Fixed:
- Fix an issue with numeric data provider keys and run tests with format clear for both PHPUnit >= 10 and PHPUnit < 10 by @sidz in #1900
- Disable Box Requirements Checker as it conflicts with symfony/service-contracts package by @sidz in #1902
- build: Disable the requirement checker by @theofidry in #1903
Full Changelog: 0.27.8...0.27.9
Do not remove attributes from class methods
Fixed:
- Do not remove attributes from class methods when visibility is mutated by @maks-rafalko in #1896
Full Changelog: 0.27.7...0.27.8
PHP 8.3, Symfony 7 support
Changed:
- Add Symfony 7 support by @sidz in #1892
- Allow
fidry/cpu-core-counter
v1 by @Slamdunk in #1893 - Micro optimization to reduce array_merge calls by @sidz in #1883
- Remove
symfony/console
< 4.4 hack as minimum supported version is 5.4 by @sidz in #1888 - Remove all deprecated Safe function usages by @sidz in #1889
- Update sanmai/pipeline to the latest version by @sanmai in #1890
Full Changelog: 0.27.6...0.27.7
Fix equivalent mutants
Fix bug with collecting escaped mutants for GitLab logger
Fixed:
- Collect escaped mutants for GitLab json file logger by @maks-rafalko in #1882
Full Changelog: 0.27.4...0.27.5