chore: style

This commit is contained in:
nuno maduro
2026-08-10 11:12:08 +01:00
parent d70ecb873e
commit e0e00ca748
+5 -4
View File
@@ -332,14 +332,15 @@ final class Tia implements AddsOutput, HandlesArguments, HandlesOriginalArgument
} }
/** /**
* Mutation testing needs the coverage of a complete run, so TIA stays out of its way.
*
* @param array<int, string> $arguments * @param array<int, string> $arguments
*/ */
public static function isMutationRun(array $arguments): bool public static function isMutationRun(array $arguments): bool
{ {
return self::argumentPresent(self::MUTATE_OPTION, $arguments) if (self::argumentPresent(self::MUTATE_OPTION, $arguments)) {
|| getenv(self::ENV_MUTATION_TESTING) !== false; return true;
}
return getenv(self::ENV_MUTATION_TESTING) !== false;
} }
public static function recordsEdgesInWorkers(): bool public static function recordsEdgesInWorkers(): bool