Skip to content

Update composer.lock (#21) #4359

Update composer.lock (#21)

Update composer.lock (#21) #4359

Triggered via push February 1, 2025 00:02
Status Success
Total duration 1m 59s
Artifacts

automation.yml

on: push
automation  /  Generate job matrix
8s
automation / Generate job matrix
Matrix: automation / qa
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L51
Escaped Mutant for Mutator "MBString": @@ @@ private Closure $upper; public function __construct() { - $this->upper = static fn(string $word): string => mb_convert_case($word, MB_CASE_UPPER, 'UTF-8'); + $this->upper = static fn(string $word): string => strtoupper($word); $this->lower = static fn(string $word): string => mb_convert_case($word, MB_CASE_LOWER, 'UTF-8'); $this->title = static fn(string $word): string => mb_convert_case($word, MB_CASE_TITLE, 'UTF-8'); }
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L52
Escaped Mutant for Mutator "MBString": @@ @@ public function __construct() { $this->upper = static fn(string $word): string => mb_convert_case($word, MB_CASE_UPPER, 'UTF-8'); - $this->lower = static fn(string $word): string => mb_convert_case($word, MB_CASE_LOWER, 'UTF-8'); + $this->lower = static fn(string $word): string => strtolower($word); $this->title = static fn(string $word): string => mb_convert_case($word, MB_CASE_TITLE, 'UTF-8'); } /**
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L223
Escaped Mutant for Mutator "PregMatchRemoveCaret": @@ @@ */ private function isUppercaseWord(string $string): bool { - return preg_match('#^\p{Lu}+$#u', $string) === 1; + return preg_match('#\p{Lu}+$#u', $string) === 1; } /** * @param pure-Closure(string):string $converter
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L223
Escaped Mutant for Mutator "IncrementInteger": @@ @@ */ private function isUppercaseWord(string $string): bool { - return preg_match('#^\p{Lu}+$#u', $string) === 1; + return preg_match('#^\p{Lu}+$#u', $string) === 2; } /** * @param pure-Closure(string):string $converter
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L223
Escaped Mutant for Mutator "PregMatchRemoveFlags": @@ @@ */ private function isUppercaseWord(string $string): bool { - return preg_match('#^\p{Lu}+$#u', $string) === 1; + return preg_match('#^\p{Lu}+$#', $string) === 1; } /** * @param pure-Closure(string):string $converter
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L336
Escaped Mutant for Mutator "FalseValue": @@ @@ * @var non-empty-string $string */ $words = preg_split($pattern, $string, 0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); - if ($words === false) { + if ($words === true) { throw new FailedToSplitStringException($string . ' | ' . $pattern); } /** @return list<string> */
automation / [PHP8.4][lowest]PHPUnit on ubuntu: vendor/amphp/dns/src/functions.php#L14
Amp\Dns\dnsResolver(): Implicitly marking parameter $dnsResolver as nullable is deprecated, the explicit nullable type must be used instead
automation / [PHP8.4][lowest]PHPUnit on ubuntu: vendor/amphp/dns/src/functions.php#L40
Amp\Dns\resolve(): Implicitly marking parameter $typeRestriction as nullable is deprecated, the explicit nullable type must be used instead
automation / [PHP8.4][lowest]PHPUnit on ubuntu: vendor/amphp/socket/src/Internal/functions.php#L191
Amp\Socket\Internal\normalizeBindToOption(): Implicitly marking parameter $bindTo as nullable is deprecated, the explicit nullable type must be used instead
automation / [PHP8.4][lowest]PHPUnit on windows: vendor/amphp/dns/src/functions.php#L14
Amp\Dns\dnsResolver(): Implicitly marking parameter $dnsResolver as nullable is deprecated, the explicit nullable type must be used instead
automation / [PHP8.4][lowest]PHPUnit on windows: vendor/amphp/dns/src/functions.php#L40
Amp\Dns\resolve(): Implicitly marking parameter $typeRestriction as nullable is deprecated, the explicit nullable type must be used instead
automation / [PHP8.4][lowest]PHPUnit on windows: vendor/amphp/socket/src/Internal/functions.php#L191
Amp\Socket\Internal\normalizeBindToOption(): Implicitly marking parameter $bindTo as nullable is deprecated, the explicit nullable type must be used instead