Download Latest Version 0.32.7 source code.tar.gz (253.2 kB)
Email in envelope

Get an email when there's a new version of Infection

Home / 0.32.7
Name Modified Size InfoDownloads / Week
Parent folder
infection.phar 2026-04-23 1.4 MB
infection.phar.asc 2026-04-23 334 Bytes
0.32.7 source code.tar.gz 2026-04-23 253.2 kB
0.32.7 source code.zip 2026-04-23 1.0 MB
README.md 2026-04-23 2.8 kB
Totals: 5 Items   2.7 MB 0

Added:

  • Adapt the output for the initial tests to be more generic (#2991)
  • Make the DebugOption a negatable value (#3005)
  • Introduce a debug command to execute the initial tests (#2762)
  • Add a debug command for the AST (#3008, [#3024], [#3025])
  • Throw a dedicated InvalidXml exception when the XML loaded by XPath is invalid (#3051)
  • Drop support for PHP 8.2 (#3068)
  • Add support for mago static analysis (#3046)

Fixed:

  • Fix incorrectly style tag for non-canonical regexes with tripple \\\ (#3022)
  • Prevent invalid usage of @infection-ignore-all to corrupt the name resolution (#3039)
  • Do not modify the inital coverage configuration (#3043)
  • bug: MockSplFileInfo is autoloadable for consumers (#3081)

Performance improvements:

  • Skip checking the other comments once ignore all is found (#3038)

Internal:

Console related changes:

  • Extract the debug option into a re-usable option (#3004)

AST related changes:

  • Simplify the NodeTraverser instantiation (#2999)
  • Improve the readability of NodeTraverserFactoryTest (#3002)
  • Make MutatorRobustnessTest mimic more closely what infection really does (#3001)
  • Improve the feedback when MutatorRobustnessTest fails (#3000)
  • Mark nodes as eligible (#2795)
  • Rename VisitorCollectorIntegrationTest to EnrichmentTraverseIntegrationTest (#3006)
  • Introduce LabelMutationCandidatesVisitor for more realistic AST testing (#3007)
  • Add more tests for the enrichment traverse (#3027)
  • Rename NonMutableNodesIgnorerVisitor to SkipIgnoredNodesVisitor (#3029)
  • Display resolved name attributes in the dumped AST (#3031)
  • Show problematic usage of @infection-ignore-all (#3030)
  • Re-order the dumped attributes (#3040)
  • Add tests with changed lines ranges (#3028)

Infection related related changes:

  • Solidify the tests by explicitly setting the mutation hash (#3020)

Logger/Reporter related changes:

  • Reduce duplicated code between the initial tests & static analysis execution loggers (#2987)

Code coverage/Test Framework/Tracing related changes:

  • Improve the code coverage tests (#2815)
  • Leverage SafeDOMXPath (#3041)
  • Improve JUnitTestCaseSorterTest (#3037)
  • Adjust the API of JUnitTestCaseSorter and JUnitTestCaseTimeAdder (#3033)
  • Capture SafeDOMXPath behaviour for various invalid XML inputs (#3050)
  • Adjust the API of JUnitTestCaseTimeAdder (#3076)

Misc:

  • Leverage the CannotBeInstantiated trait (#3034)
  • Fix various type issues reported by PHPStan (#3035)
  • Fix deprecrated usage of PHPUnit addToAssertionCount (#3036)
  • Add Mago (#3049, [#3056], [#3055], [#3077])
  • Remove Psalm from CI (#3060)
  • Leverage the Filesystem to dump files (#3052)
  • Add types to constants (#3073)
  • Add PHP 8.3 Override attribute (#3074)
  • Enable PHP 8.3 preset for rector (#3075)
Source: README.md, updated 2026-04-23