Skip to content

Update PHPStan packages to v2 (major) #2850

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #2850

Triggered via pull request November 11, 2024 18:48
Status Failure
Total duration 36s
Artifacts

static-analysis.yml

on: pull_request
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().