feat: Group by source the required and provided extensions #1843
Annotations
1 error and 1 warning
Run make _infection_ci --debug
Process completed with exit code 2.
|
Run make _infection_ci --debug:
src/RequirementChecker/RequirementsBuilder.php#L141
Escaped Mutant for Mutator "CastString":
--- Original
+++ New
@@ @@
private function getSortedRequiredAndProvidedExtensions() : array
{
return array_map(static function (array $sources) : array {
- usort($sources, static fn(array $sourceTypePairA, array $sourceTypePairB) => strcmp((string) $sourceTypePairA[0], (string) $sourceTypePairB[0]));
+ usort($sources, static fn(array $sourceTypePairA, array $sourceTypePairB) => strcmp($sourceTypePairA[0], (string) $sourceTypePairB[0]));
return $sources;
}, self::sortByExtensionName($this->allExtensions));
}
|
Loading