Should fix static analysis #278
Annotations
7 errors and 4 warnings
3️⃣ Static Analysis:
src/Attestation/AuthenticatorData.php#L386
Parameter &$endOffset @param-out type of method Laragear\WebAuthn\Attestation\AuthenticatorData::readAttestData() expects int, (float|int) given.
|
3️⃣ Static Analysis:
src/Attestation/AuthenticatorData.php#L402
Parameter &$endOffset @param-out type of method Laragear\WebAuthn\Attestation\AuthenticatorData::readCredentialPublicKey() expects int, int|null given.
|
3️⃣ Static Analysis:
src/Models/WebAuthnCredential.php#L65
PHPDoc tag @method for method Laragear\WebAuthn\Models\WebAuthnCredential::whereDisabled() return type contains unknown class static.
|
3️⃣ Static Analysis:
src/Models/WebAuthnCredential.php#L65
PHPDoc tag @method for method Laragear\WebAuthn\Models\WebAuthnCredential::whereEnabled() return type contains unknown class static.
|
3️⃣ Static Analysis:
src/Models/WebAuthnCredential.php#L106
Type Laragear\WebAuthn\Contracts\WebAuthnAuthenticatable in generic type Illuminate\Database\Eloquent\Relations\MorphTo<Laragear\WebAuthn\Contracts\WebAuthnAuthenticatable, $this(Laragear\WebAuthn\Models\WebAuthnCredential)> in PHPDoc tag @return is not subtype of template type TRelatedModel of Illuminate\Database\Eloquent\Model of class Illuminate\Database\Eloquent\Relations\MorphTo.
|
3️⃣ Static Analysis:
src/Models/WebAuthnCredential.php#L108
Method Laragear\WebAuthn\Models\WebAuthnCredential::authenticatable() should return Illuminate\Database\Eloquent\Relations\MorphTo<Laragear\WebAuthn\Contracts\WebAuthnAuthenticatable, $this(Laragear\WebAuthn\Models\WebAuthnCredential)> but returns Illuminate\Database\Eloquent\Relations\MorphTo<Illuminate\Database\Eloquent\Model, $this(Laragear\WebAuthn\Models\WebAuthnCredential)>.
|
3️⃣ Static Analysis
Process completed with exit code 1.
|
2️⃣ Unit and Feature tests (8.1, 10.*, lowest)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
2️⃣ Unit and Feature tests (8.3, 10.*, lowest)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
2️⃣ Unit and Feature tests (8.4, 10.*, lowest)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
2️⃣ Unit and Feature tests (8.2, 10.*, lowest)
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|