Skip to content

Automation

Automation #4544

Triggered via schedule February 7, 2025 11:13
Status Success
Total duration 3m 10s
Artifacts

automation.yml

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

Annotations

13 warnings
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L46
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#L47
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'); } public static function new(): self
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L246
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 Closure(string):string $converter
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L246
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 Closure(string):string $converter
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L246
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 Closure(string):string $converter
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L273
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ str_contains($string, '-') => $this->splitDash($string), str_contains($string, ' ') => $this->splitSpace($string), str_contains($string, '.') => $this->splitDot($string), - $this->isUppercaseWord($string) => $this->splitUnderscore($string), default => $this->splitUppercase($string), }; }
automation / [PHP8.4][locked]Infection on ubuntu: src/CaseConverter.php#L346
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 (false === $words) { + if (true === $words) { 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