Skip to content

feat: Add a info:requirements command #1853

feat: Add a info:requirements command

feat: Add a info:requirements command #1853

Triggered via pull request March 13, 2024 07:38
Status Failure
Total duration 1m 24s
Artifacts

unit-tests.yaml

on: pull_request
Matrix: infection
Matrix: unit-tests
Unit tests status
0s
Unit tests status
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Infection (PHP 8.2)
Process completed with exit code 2.
Unit tests status
Process completed with exit code 1.
Infection (PHP 8.2): 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