Update rector/rector requirement from 1.1.0 to 1.1.1 #1257
Annotations
3 warnings
PHP 8.3 tests
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/.
|
PHP 8.3 code check
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/.
|
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;
}
/**
|