Skip to content

Merge pull request #512 from web-auth/merge-up-hekxnze #648

Merge pull request #512 from web-auth/merge-up-hekxnze

Merge pull request #512 from web-auth/merge-up-hekxnze #648

Triggered via push November 13, 2023 05:39
Status Failure
Total duration 8m 53s
Artifacts

integrate.yml

on: push
0️⃣ Byte-level
3s
0️⃣ Byte-level
1️⃣ Syntax errors
2m 3s
1️⃣ Syntax errors
3️⃣ Static Analysis
32s
3️⃣ Static Analysis
4️⃣ Coding Standards
36s
4️⃣ Coding Standards
5️⃣ Mutation Testing
6m 32s
5️⃣ Mutation Testing
6️⃣ Rector Checkstyle
1m 4s
6️⃣ Rector Checkstyle
7️⃣ Exported files
5s
7️⃣ Exported files
Matrix: 2️⃣ JS tests
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 10 warnings
3️⃣ Static Analysis: src/webauthn/src/PublicKeyCredentialCreationOptions.php#L115
@readonly property Webauthn\PublicKeyCredentialCreationOptions::$pubKeyCredParams is assigned outside of the constructor.
3️⃣ Static Analysis: src/webauthn/src/PublicKeyCredentialCreationOptions.php#L127
@readonly property Webauthn\PublicKeyCredentialCreationOptions::$pubKeyCredParams is assigned outside of the constructor.
3️⃣ Static Analysis: src/webauthn/src/PublicKeyCredentialCreationOptions.php#L139
@readonly property Webauthn\PublicKeyCredentialCreationOptions::$excludeCredentials is assigned outside of the constructor.
3️⃣ Static Analysis: src/webauthn/src/PublicKeyCredentialCreationOptions.php#L151
@readonly property Webauthn\PublicKeyCredentialCreationOptions::$excludeCredentials is assigned outside of the constructor.
3️⃣ Static Analysis: src/webauthn/src/PublicKeyCredentialCreationOptions.php#L163
@readonly property Webauthn\PublicKeyCredentialCreationOptions::$authenticatorSelection is assigned outside of the constructor.
3️⃣ Static Analysis: src/webauthn/src/PublicKeyCredentialCreationOptions.php#L178
@readonly property Webauthn\PublicKeyCredentialCreationOptions::$attestation is assigned outside of the constructor.
3️⃣ Static Analysis
Process completed with exit code 2.
2️⃣ Unit and functional tests (ubuntu-latest, 8.2, lowest)
Process completed with exit code 2.
2️⃣ Unit and functional tests (ubuntu-latest, 8.1, lowest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
2️⃣ Unit and functional tests (ubuntu-latest, 8.1, lowest)
Process completed with exit code 2.
2️⃣ Unit and functional tests (ubuntu-latest, 8.1, highest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
2️⃣ Unit and functional tests (ubuntu-latest, 8.1, highest)
The operation was canceled.
2️⃣ Unit and functional tests (ubuntu-latest, 8.3, highest)
The operation was canceled.
2️⃣ Unit and functional tests (ubuntu-latest, 8.3, lowest)
The operation was canceled.
2️⃣ Unit and functional tests (ubuntu-latest, 8.2, highest)
The job was canceled because "ubuntu-latest_8_2_lowest" failed.
2️⃣ Unit and functional tests (ubuntu-latest, 8.2, highest)
The operation was canceled.
5️⃣ Mutation Testing
Process completed with exit code 2.
5️⃣ Mutation Testing: src/metadata-service/src/CertificateChain/PhpCertificateChainValidator.php#L224
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ private function retrieveRevokedSerialNumbers(string $url) : array { try { - if ($this->client instanceof HttpClientInterface) { + if (true) { $crlData = $this->client->request('GET', $url)->getContent(); } else { $crlData = $this->sendPsrRequest($url);
5️⃣ Mutation Testing: src/metadata-service/src/CertificateChain/PhpCertificateChainValidator.php#L224
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ private function retrieveRevokedSerialNumbers(string $url) : array { try { - if ($this->client instanceof HttpClientInterface) { + if (false) { $crlData = $this->client->request('GET', $url)->getContent(); } else { $crlData = $this->sendPsrRequest($url);
5️⃣ Mutation Testing: src/metadata-service/src/CertificateChain/PhpCertificateChainValidator.php#L246
Escaped Mutant for Mutator "Throw_": --- Original +++ New @@ @@ return $sequence->at(0)->asInteger()->number(); }, $list->elements()); } catch (Throwable $e) { - throw CertificateRevocationListException::create($url, 'Failed to download the CRL', $e); + CertificateRevocationListException::create($url, 'Failed to download the CRL', $e); } } /**
5️⃣ Mutation Testing: src/metadata-service/src/CertificateChain/PhpCertificateChainValidator.php#L262
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ $extensions = $subject->tbsCertificate()->extensions(); if ($extensions->hasCRLDistributionPoints()) { $crlDists = $extensions->crlDistributionPoints(); - foreach ($crlDists->distributionPoints() as $dist) { + foreach (array() as $dist) { $url = $dist->fullName()->names()->firstURI(); $scheme = parse_url($url, PHP_URL_SCHEME); if (!in_array($scheme, ['http', 'https'], true)) {
5️⃣ Mutation Testing: src/metadata-service/src/CertificateChain/PhpCertificateChainValidator.php#L267
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ foreach ($crlDists->distributionPoints() as $dist) { $url = $dist->fullName()->names()->firstURI(); $scheme = parse_url($url, PHP_URL_SCHEME); - if (!in_array($scheme, ['http', 'https'], true)) { + if (!in_array($scheme, ['https'], true)) { continue; } $urls[] = $url;
5️⃣ Mutation Testing: src/metadata-service/src/CertificateChain/PhpCertificateChainValidator.php#L267
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ foreach ($crlDists->distributionPoints() as $dist) { $url = $dist->fullName()->names()->firstURI(); $scheme = parse_url($url, PHP_URL_SCHEME); - if (!in_array($scheme, ['http', 'https'], true)) { + if (in_array($scheme, ['http', 'https'], true)) { continue; } $urls[] = $url;
5️⃣ Mutation Testing: src/metadata-service/src/Exception/CertificateRevocationListException.php#L16
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { public function __construct(public readonly string $url, string $message, ?Throwable $previous = null) { - parent::__construct($message, $previous); + } public static function create(string $url, string $message = 'Invalid CRL.', ?Throwable $previous = null) : self {
5️⃣ Mutation Testing: src/metadata-service/src/Exception/CertificateRevocationListException.php#L19
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { parent::__construct($message, $previous); } - public static function create(string $url, string $message = 'Invalid CRL.', ?Throwable $previous = null) : self + protected static function create(string $url, string $message = 'Invalid CRL.', ?Throwable $previous = null) : self { return new self($url, $message, $previous); } }
5️⃣ Mutation Testing: src/metadata-service/src/Exception/MetadataServiceException.php#L14
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { public function __construct(string $message, ?Throwable $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, -1, $previous); } }
5️⃣ Mutation Testing: src/metadata-service/src/Exception/MetadataServiceException.php#L14
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { public function __construct(string $message, ?Throwable $previous = null) { - parent::__construct($message, 0, $previous); + parent::__construct($message, 1, $previous); } }