Skip to content

Update PHPStan packages to v2 (major) #3004

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #3004

Triggered via pull request January 29, 2025 07:14
Status Failure
Total duration 21s
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#L48
Possibly impure call to method Lcobucci\JWT\Token\Builder::newWithClaim() in pure method Lcobucci\JWT\Token\Builder::permittedFor().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L57
Possibly impure call to method Lcobucci\JWT\Token\Builder::newWithClaim() in pure method Lcobucci\JWT\Token\Builder::expiresAt().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L66
Possibly impure call to method Lcobucci\JWT\Token\Builder::newWithClaim() in pure method Lcobucci\JWT\Token\Builder::identifiedBy().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L75
Possibly impure call to method Lcobucci\JWT\Token\Builder::newWithClaim() in pure method Lcobucci\JWT\Token\Builder::issuedAt().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L84
Possibly impure call to method Lcobucci\JWT\Token\Builder::newWithClaim() in pure method Lcobucci\JWT\Token\Builder::issuedBy().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L93
Possibly impure call to method Lcobucci\JWT\Token\Builder::newWithClaim() in pure method Lcobucci\JWT\Token\Builder::canOnlyBeUsedAfter().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L102
Possibly impure call to method Lcobucci\JWT\Token\Builder::newWithClaim() in pure method Lcobucci\JWT\Token\Builder::relatedTo().
Static Analysis (locked, 8.2, ubuntu-latest): src/Token/Builder.php#L114
Possibly impure instantiation of class Lcobucci\JWT\Token\Builder in pure method Lcobucci\JWT\Token\Builder::withHeader().