Skip to content

Update PHPStan packages to v2 #2845

Update PHPStan packages to v2

Update PHPStan packages to v2 #2845

Triggered via push November 11, 2024 09:33
Status Failure
Total duration 28s
Artifacts
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Analysis (locked, 8.2, ubuntu-latest): src/Signer/Key/InMemory.php#L34
Call to static method Lcobucci\JWT\Signer\Key\InMemory::guardAgainstEmptyKey() with non-empty-string will always evaluate to true.
Static Analysis (locked, 8.2, ubuntu-latest): src/Signer/Key/InMemory.php#L51
Call to static method Lcobucci\JWT\Signer\Key\InMemory::guardAgainstEmptyKey() with non-empty-string will always evaluate to true.
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L23
@readonly property cannot have a default value.
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L26
@readonly property cannot have a default value.
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L41
Possibly impure call to method Lcobucci\JWT\Token\Builder::setClaim() in pure method Lcobucci\JWT\Token\Builder::permittedFor().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L50
Possibly impure call to method Lcobucci\JWT\Token\Builder::setClaim() in pure method Lcobucci\JWT\Token\Builder::expiresAt().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L59
Possibly impure call to method Lcobucci\JWT\Token\Builder::setClaim() in pure method Lcobucci\JWT\Token\Builder::identifiedBy().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L68
Possibly impure call to method Lcobucci\JWT\Token\Builder::setClaim() in pure method Lcobucci\JWT\Token\Builder::issuedAt().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L77
Possibly impure call to method Lcobucci\JWT\Token\Builder::setClaim() in pure method Lcobucci\JWT\Token\Builder::issuedBy().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L86
Possibly impure call to method Lcobucci\JWT\Token\Builder::setClaim() in pure method Lcobucci\JWT\Token\Builder::canOnlyBeUsedAfter().