Infection PHP

@infection_php
83 Followers
2 Following
57 Posts

Infection 0.32.3 has been released with new `--max-timeouts` and `--with-timeouts` options.

Read the details in this blog post to understand how it helps with speeding up Mutation Testing and why you should start using them!

https://infection.github.io/2026/01/14/whats-new-in-0.32.3/

What's new in Infection 0.32.3 — Infection PHP

Infection - PHP Mutation Testing Framework.

🎄 Xmas present

Infection 0.32.0 has been released:

- Format-presering pretty printing
- new GitHub loggers with collapsable sections
- Symfony 8 support; webmozart/assert@v2 support
- and much more

https://github.com/infection/infection/releases/tag/0.32.0

Release Format-presering pretty printing; new GitHub loggers with collapsable sections; Symfony 8 support · infection/infection

Added: Support --exclude-source-from-xml-coverage fast path for PHPUnit 12.5+ by @staabm in #2604 Implement GitHubActionsLogTextFileLogger to improve DX of text file logger with GA by @staabm in #...

GitHub

Looks like @phpunit xml-report code-coverage generation could get nearly twice as fast in the future.

this would for example considerably reduce overhead of the necessary "initial-test" step when running @infection_php on your project.

Custom Mutators — Infection PHP

Infection - PHP Mutation Testing Framework.

.@phpstan has added @infection_php for PRs on GH Actions with a set of custom mutators 🚀

.@xepozz
started working on Infection Plugin for @phpstorm, please share your ideas here: https://github.com/infection/infection/issues/2437

- What would you like to see?
- How would you use it?
- Where would you want to see Mutants diffs?

Let's make it useful.

PHPStorm / Intellij IDEA plugin Roadmap · Issue #2437 · infection/infection

PHPStorm / Intellij IDEA plugin is available: Marketplace https://plugins.jetbrains.com/plugin/28650-infection Sources: https://github.com/j-plugins/infection-plugin There's simple integration whic...

GitHub
💡TIP: It's worth to remind that you can use `php://stdout` or `php://stderr` channels to report Infection's details directly to the console when you use it on CI, for example.
qa: run Infection with integrated PHPStan static analysis by romm · Pull Request #720 · CuyZ/Valinor

Reference: phpstan/phpstan#10966

GitHub

Thank you LambdaTest
for sponsoring our Open Source work on Infection.

We already have 4 companies and a bunch of individuals who support us on GitHub.

If you or you company(!) relies on Infection - please support us.

https://github.com/sponsors/infection

Thank you all.

@markusstaab 👏💪