Merge pull request #567 from iLexN/dependabot/composer/symplify/easy-… #1313
Annotations
3 warnings
PHP 8.3 code check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP 8.3 code check:
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;
}
/**
|
PHP 8.3 tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|