chore(MSP-5160): run phpstan under Infection as a mutant killer, in addition to PHPUnit - #709
Merged
Maks Rafalko (maks-rafalko) merged 1 commit intoAug 14, 2026
Conversation
| paths: | ||
| - ./src | ||
| - ./tests | ||
| - ./rector.php |
Contributor
Author
There was a problem hiding this comment.
move folders/files to analyze to PHPStan config from command line to let Infection reuse those without duplicating it anywhere else
Maks Rafalko (maks-rafalko)
force-pushed
the
ticket/MSP-5160-infection-3
branch
from
August 14, 2026 14:09
5cd387f to
a500d24
Compare
Maks Rafalko (maks-rafalko)
marked this pull request as ready for review
August 14, 2026 14:10
Marcin Michalski (marmichalski)
previously approved these changes
Aug 14, 2026
… addition to PHPUnit See https://infection.github.io/guide/static-analysis-integration.html In a nutshell: this will help killing more mutants if they violate PHPStan rules but don't trigger PHPUnit tests failures
Maks Rafalko (maks-rafalko)
force-pushed
the
ticket/MSP-5160-infection-3
branch
from
August 14, 2026 14:28
a500d24 to
76c2665
Compare
Felipe Francisco (felipefrancisco)
approved these changes
Aug 14, 2026
Marcin Michalski (marmichalski)
approved these changes
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See https://infection.github.io/guide/static-analysis-integration.html
In a nutshell: this will help killing more mutants if they violate PHPStan rules but don't trigger PHPUnit tests failures