Skip to content

Automation

Automation #4324

Triggered via schedule January 30, 2025 17:14
Status Success
Total duration 15m 17s
Artifacts

automation.yml

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

Annotations

6 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 "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#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#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> */