Add key size validation #606
tests.yml
on: pull_request
PHP Style Check
17s
PHPStan Static Analysis
20s
Matrix: test
Annotations
6 errors
|
PHP Style Check
Process completed with exit code 8.
|
|
PHPStan Static Analysis
Process completed with exit code 1.
|
|
PHPStan Static Analysis:
src/JWT.php#L714
Cannot access offset 'bits' on array|false.
|
|
PHPStan Static Analysis:
src/JWT.php#L713
Parameter #1 $key of function openssl_pkey_get_details expects OpenSSLAsymmetricKey, OpenSSLAsymmetricKey|false given.
|
|
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.
|