Bump phpstan/phpstan from 1.12.0 to 2.0.1 #791
Annotations
10 errors
Static analysis:
src/SimpleJWT/Crypt/Encryption/AESGCM.php#L66
Negated boolean expression is always false.
|
Static analysis:
src/SimpleJWT/Crypt/KeyManagement/PBES2.php#L166
Parameter #1 $algo of function hash_pbkdf2 expects non-falsy-string, string given.
|
Static analysis:
src/SimpleJWT/Crypt/KeyManagement/PBES2.php#L166
Parameter #5 $length of function hash_pbkdf2 expects int<0, max>, (float|int) given.
|
Static analysis:
src/SimpleJWT/JWE.php#L151
Instanceof between SimpleJWT\Crypt\Encryption\EncryptionAlgorithm and SimpleJWT\Crypt\Encryption\EncryptionAlgorithm will always evaluate to true.
|
Static analysis:
src/SimpleJWT/JWE.php#L253
Instanceof between SimpleJWT\Crypt\Encryption\EncryptionAlgorithm and SimpleJWT\Crypt\Encryption\EncryptionAlgorithm will always evaluate to true.
|
Static analysis:
src/SimpleJWT/JWT.php#L140
Instanceof between SimpleJWT\Crypt\Signature\SignatureAlgorithm and SimpleJWT\Crypt\Signature\SignatureAlgorithm will always evaluate to true.
|
Static analysis:
src/SimpleJWT/JWT.php#L214
Instanceof between SimpleJWT\Crypt\Signature\SignatureAlgorithm and SimpleJWT\Crypt\Signature\SignatureAlgorithm will always evaluate to true.
|
Static analysis:
src/SimpleJWT/JWT.php#L386
Instanceof between SimpleJWT\Crypt\Signature\SignatureAlgorithm and SimpleJWT\Crypt\Signature\SignatureAlgorithm will always evaluate to true.
|
Static analysis:
src/SimpleJWT/Util/ASN1/Value.php#L210
Call to function is_array() with array<SimpleJWT\Util\ASN1\Value> will always evaluate to true.
|
Static analysis:
src/SimpleJWT/Util/BigNum.php#L71
Call to function is_integer() with int<min, 9>|int<11, 255>|int<257, max> will always evaluate to true.
|