Skip to content

Update PHPStan packages to v2 (major) #2954

Update PHPStan packages to v2 (major)

Update PHPStan packages to v2 (major) #2954

Triggered via pull request December 21, 2024 10:53
Status Failure
Total duration 37s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
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#L47
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#L56
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#L65
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#L74
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#L83
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#L92
Possibly impure call to method Lcobucci\JWT\Token\Builder::setClaim() in pure method Lcobucci\JWT\Token\Builder::canOnlyBeUsedAfter().
Static Analysis (locked, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636