phpro / grumphp

A PHP code-quality tool
MIT License
4.14k stars 429 forks source link

Infection: Add missing `show_mutations` (incl. verbose mode) #998

Closed jerowork closed 2 years ago

jerowork commented 2 years ago
Q A
Branch master for features and deprecations
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes

Infection does have cli options to directly show the escaped mutations on run (apart from the logfiles).

However, by default, these are disabled, but can be enabled with the option --show-mutations. In verbose mode (-v), the non-covered escaped mutations will be shown as well.

@see https://infection.github.io/guide/command-line-options.html#show-mutations-or-s

veewee commented 2 years ago

Looks good, thanks!