feat: Add a info:requirements command #1853
Annotations
1 error and 1 warning
Run make _infection_ci --debug
Process completed with exit code 2.
|
Run make _infection_ci --debug:
src/Console/Command/Info/RequirementsCommand.php#L217
Escaped Mutant for Mutator "Coalesce":
--- Original
+++ New
@@ @@
return;
}
$io->writeln('<comment>The following PHP constraints were found:</comment>');
- self::renderTable($io, ['Constraints', 'Source'], array_map(static fn(Requirement $requirement) => [$requirement->condition, $requirement->source ?? 'root'], $requirements));
+ self::renderTable($io, ['Constraints', 'Source'], array_map(static fn(Requirement $requirement) => [$requirement->condition, 'root' ?? $requirement->source], $requirements));
}
/**
* @param Requirement[] $required
|
Loading