mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #8677 from orklah/openssl
adding openssl_x509_verify
This commit is contained in:
commit
d0bc6e25d8
@ -9415,6 +9415,7 @@ return [
|
|||||||
'openssl_x509_free' => ['void', 'certificate'=>'OpenSSLCertificate'],
|
'openssl_x509_free' => ['void', 'certificate'=>'OpenSSLCertificate'],
|
||||||
'openssl_x509_parse' => ['array|false', 'certificate'=>'OpenSSLCertificate|string', 'short_names='=>'bool'],
|
'openssl_x509_parse' => ['array|false', 'certificate'=>'OpenSSLCertificate|string', 'short_names='=>'bool'],
|
||||||
'openssl_x509_read' => ['OpenSSLCertificate|false', 'certificate'=>'OpenSSLCertificate|string'],
|
'openssl_x509_read' => ['OpenSSLCertificate|false', 'certificate'=>'OpenSSLCertificate|string'],
|
||||||
|
'openssl_x509_verify' => ['int', 'certificate'=>'string|OpenSSLCertificate', 'public_key'=>'string|OpenSSLCertificate|OpenSSLAsymmetricKey|array'],
|
||||||
'ord' => ['int', 'character'=>'string'],
|
'ord' => ['int', 'character'=>'string'],
|
||||||
'OuterIterator::current' => ['mixed'],
|
'OuterIterator::current' => ['mixed'],
|
||||||
'OuterIterator::getInnerIterator' => ['Iterator'],
|
'OuterIterator::getInnerIterator' => ['Iterator'],
|
||||||
|
@ -18,6 +18,7 @@ return [
|
|||||||
'added' => [
|
'added' => [
|
||||||
'ReflectionProperty::getType' => ['?ReflectionType'],
|
'ReflectionProperty::getType' => ['?ReflectionType'],
|
||||||
'mb_str_split' => ['list<string>|false', 'string'=>'string', 'length='=>'positive-int', 'encoding='=>'string'],
|
'mb_str_split' => ['list<string>|false', 'string'=>'string', 'length='=>'positive-int', 'encoding='=>'string'],
|
||||||
|
'openssl_x509_verify' => ['int', 'certificate'=>'string|resource', 'public_key'=>'string|array|resource'],
|
||||||
],
|
],
|
||||||
'changed' => [
|
'changed' => [
|
||||||
'array_merge' => [
|
'array_merge' => [
|
||||||
|
@ -1193,6 +1193,10 @@ return [
|
|||||||
'old' => ['resource|false', 'certificate'=>'string|resource'],
|
'old' => ['resource|false', 'certificate'=>'string|resource'],
|
||||||
'new' => ['OpenSSLCertificate|false', 'certificate'=>'OpenSSLCertificate|string'],
|
'new' => ['OpenSSLCertificate|false', 'certificate'=>'OpenSSLCertificate|string'],
|
||||||
],
|
],
|
||||||
|
'openssl_x509_verify' => [
|
||||||
|
'old' => ['int', 'certificate'=>'string|resource', 'public_key'=>'string|array|resource'],
|
||||||
|
'new' => ['int', 'certificate'=>'string|OpenSSLCertificate', 'public_key'=>'string|OpenSSLCertificate|OpenSSLAsymmetricKey|array'],
|
||||||
|
],
|
||||||
'parse_str' => [
|
'parse_str' => [
|
||||||
'old' => ['void', 'string'=>'string', '&w_result='=>'array'],
|
'old' => ['void', 'string'=>'string', '&w_result='=>'array'],
|
||||||
'new' => ['void', 'string'=>'string', '&w_result'=>'array'],
|
'new' => ['void', 'string'=>'string', '&w_result'=>'array'],
|
||||||
|
Loading…
Reference in New Issue
Block a user