Update phpunit/phpunit requirement from 10.5.20 to 10.5.24 #1259
Annotations
2 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
src/HkidDigitCheck.php#L219
Escaped Mutant for Mutator "UnwrapArrayMap":
--- Original
+++ New
@@ @@
*/
private function calPart2Remainder(string $part2, int $charSum) : int
{
- $p2 = \array_map(static fn(string $int): int => (int) $int, \str_split($part2));
+ $p2 = \str_split($part2);
return self::MOD_NUM - ($charSum + $p2[0] * self::NUM_WEIGHT_1 + $p2[1] * self::NUM_WEIGHT_2 + $p2[2] * self::NUM_WEIGHT_3 + $p2[3] * self::NUM_WEIGHT_4 + $p2[4] * self::NUM_WEIGHT_5 + $p2[5] * self::NUM_WEIGHT_6) % self::MOD_NUM;
}
/**
|
This job succeeded
Loading