mirror of
https://github.com/pestphp/pest.git
synced 2026-09-05 06:13:35 +02:00
chore: style
This commit is contained in:
+5
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user