Skip to content

Automation

Automation #4668

Triggered via schedule January 29, 2025 07:11
Status Success
Total duration 2m 54s
Artifacts

automation.yml

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

Annotations

10 warnings
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Did.php#L22
Escaped Mutant for Mutator "PregMatchRemoveCaret": @@ @@ { // should we split the value into parts and validate each part? // and store the parts in the object - if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { + if (preg_match('#did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { // Todo: create custom exception throw new InvalidArgumentException('Invalid DID: ' . $this->did); }
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Did.php#L22
Escaped Mutant for Mutator "PregMatchRemoveDollar": @@ @@ { // should we split the value into parts and validate each part? // and store the parts in the object - if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { + if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]#', $this->did) === false) { // Todo: create custom exception throw new InvalidArgumentException('Invalid DID: ' . $this->did); }
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Did.php#L22
Escaped Mutant for Mutator "PregMatchRemoveCaret": @@ @@ { // should we split the value into parts and validate each part? // and store the parts in the object - if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { + if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { // Todo: create custom exception throw new InvalidArgumentException('Invalid DID: ' . $this->did); }
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Did.php#L25
Escaped Mutant for Mutator "FalseValue": @@ @@ { // should we split the value into parts and validate each part? // and store the parts in the object - if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { + if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === true) { // Todo: create custom exception throw new InvalidArgumentException('Invalid DID: ' . $this->did); }
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Did.php#L28
Escaped Mutant for Mutator "Concat": @@ @@ // and store the parts in the object if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { // Todo: create custom exception - throw new InvalidArgumentException('Invalid DID: ' . $this->did); + throw new InvalidArgumentException($this->did . 'Invalid DID: '); } } #[Override]
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Did.php#L28
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ // and store the parts in the object if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { // Todo: create custom exception - throw new InvalidArgumentException('Invalid DID: ' . $this->did); + throw new InvalidArgumentException($this->did); } } #[Override]
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Did.php#L28
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ // and store the parts in the object if (preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === 0 || preg_match('#^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$#', $this->did) === false) { // Todo: create custom exception - throw new InvalidArgumentException('Invalid DID: ' . $this->did); + throw new InvalidArgumentException('Invalid DID: '); } } #[Override]
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Handle.php#L22
Escaped Mutant for Mutator "PregMatchRemoveDollar": @@ @@ { public function __construct(private string $handle) { - if (preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === 0 || preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === false) { + if (preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === 0 || preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?#', $this->handle) === false) { throw new InvalidArgumentException('Invalid handle: ' . $this->handle); } }
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Handle.php#L22
Escaped Mutant for Mutator "PregMatchRemoveCaret": @@ @@ { public function __construct(private string $handle) { - if (preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === 0 || preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === false) { + if (preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === 0 || preg_match('#([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === false) { throw new InvalidArgumentException('Invalid handle: ' . $this->handle); } }
automation / [PHP8.4][locked]Infection on ubuntu: src/Value/Handle.php#L25
Escaped Mutant for Mutator "FalseValue": @@ @@ { public function __construct(private string $handle) { - if (preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === 0 || preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === false) { + if (preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === 0 || preg_match('#^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$#', $this->handle) === true) { throw new InvalidArgumentException('Invalid handle: ' . $this->handle); } }