Skip to content

Add key size validation #610

Add key size validation

Add key size validation #610

Re-run triggered December 4, 2025 20:31
Status Failure
Total duration 26s
Artifacts

tests.yml

on: pull_request
PHP Style Check
15s
PHP Style Check
PHPStan Static Analysis
19s
PHPStan Static Analysis
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
PHPStan Static Analysis
Process completed with exit code 1.
PHPStan Static Analysis: src/JWT.php#L332
Parameter #1 $key of static method Firebase\JWT\JWT::validateRsaKeyLength() expects OpenSSLAsymmetricKey|OpenSSLCertificate, OpenSSLAsymmetricKey|OpenSSLCertificate|resource|string given.
PHPStan Static Analysis: src/JWT.php#L270
Parameter #1 $key of static method Firebase\JWT\JWT::validateRsaKeyLength() expects OpenSSLAsymmetricKey|OpenSSLCertificate, OpenSSLAsymmetricKey|OpenSSLCertificate|resource|string given.