Skip to content

Merge 0.2.x into 1.0.x (#186) #4752

Merge 0.2.x into 1.0.x (#186)

Merge 0.2.x into 1.0.x (#186) #4752

Triggered via push February 1, 2025 02:24
Status Success
Total duration 3m 17s
Artifacts

automation.yml

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

Annotations

16 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 "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#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#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); } }
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