Skip to content

Commit 1cd8e2a

Browse files
Daeroniondrejmirtes
authored andcommitted
ssh2-functions can return false on error
Source: http://git.php.net/?p=pecl/networking/ssh2.git;a=tree
1 parent 11cdfae commit 1cd8e2a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Reflection/SignatureMap/functionMap.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11511,34 +11511,34 @@
1151111511
'ssdeep_fuzzy_hash_filename' => ['string', 'file_name'=>'string'],
1151211512
'ssh2_auth_agent' => ['bool', 'session'=>'resource', 'username'=>'string'],
1151311513
'ssh2_auth_hostbased_file' => ['bool', 'session'=>'resource', 'username'=>'string', 'hostname'=>'string', 'pubkeyfile'=>'string', 'privkeyfile'=>'string', 'passphrase='=>'string', 'local_username='=>'string'],
11514-
'ssh2_auth_none' => ['true|string[]', 'session'=>'resource', 'username'=>'string'],
11514+
'ssh2_auth_none' => ['bool|string[]', 'session'=>'resource', 'username'=>'string'],
1151511515
'ssh2_auth_password' => ['bool', 'session'=>'resource', 'username'=>'string', 'password'=>'string'],
1151611516
'ssh2_auth_pubkey_file' => ['bool', 'session'=>'resource', 'username'=>'string', 'pubkeyfile'=>'string', 'privkeyfile'=>'string', 'passphrase='=>'string'],
1151711517
'ssh2_connect' => ['resource|false', 'host'=>'string', 'port='=>'int', 'methods='=>'array', 'callbacks='=>'array'],
1151811518
'ssh2_disconnect' => ['bool', 'session'=>'resource'],
1151911519
'ssh2_exec' => ['resource|false', 'session'=>'resource', 'command'=>'string', 'pty='=>'string', 'env='=>'array', 'width='=>'int', 'height='=>'int', 'width_height_type='=>'int'],
11520-
'ssh2_fetch_stream' => ['resource', 'channel'=>'resource', 'streamid'=>'int'],
11521-
'ssh2_fingerprint' => ['string', 'session'=>'resource', 'flags='=>'int'],
11522-
'ssh2_methods_negotiated' => ['array', 'session'=>'resource'],
11520+
'ssh2_fetch_stream' => ['resource|false', 'channel'=>'resource', 'streamid'=>'int'],
11521+
'ssh2_fingerprint' => ['string|false', 'session'=>'resource', 'flags='=>'int'],
11522+
'ssh2_methods_negotiated' => ['array|false', 'session'=>'resource'],
1152311523
'ssh2_publickey_add' => ['bool', 'pkey'=>'resource', 'algoname'=>'string', 'blob'=>'string', 'overwrite='=>'bool', 'attributes='=>'array'],
1152411524
'ssh2_publickey_init' => ['resource|false', 'session'=>'resource'],
11525-
'ssh2_publickey_list' => ['array', 'pkey'=>'resource'],
11525+
'ssh2_publickey_list' => ['array|false', 'pkey'=>'resource'],
1152611526
'ssh2_publickey_remove' => ['bool', 'pkey'=>'resource', 'algoname'=>'string', 'blob'=>'string'],
1152711527
'ssh2_scp_recv' => ['bool', 'session'=>'resource', 'remote_file'=>'string', 'local_file'=>'string'],
1152811528
'ssh2_scp_send' => ['bool', 'session'=>'resource', 'local_file'=>'string', 'remote_file'=>'string', 'create_mode='=>'int'],
1152911529
'ssh2_sftp' => ['resource|false', 'session'=>'resource'],
1153011530
'ssh2_sftp_chmod' => ['bool', 'sftp'=>'resource', 'filename'=>'string', 'mode'=>'int'],
11531-
'ssh2_sftp_lstat' => ['array', 'sftp'=>'resource', 'path'=>'string'],
11531+
'ssh2_sftp_lstat' => ['array|false', 'sftp'=>'resource', 'path'=>'string'],
1153211532
'ssh2_sftp_mkdir' => ['bool', 'sftp'=>'resource', 'dirname'=>'string', 'mode='=>'int', 'recursive='=>'bool'],
11533-
'ssh2_sftp_readlink' => ['string', 'sftp'=>'resource', 'link'=>'string'],
11534-
'ssh2_sftp_realpath' => ['string', 'sftp'=>'resource', 'filename'=>'string'],
11533+
'ssh2_sftp_readlink' => ['string|false', 'sftp'=>'resource', 'link'=>'string'],
11534+
'ssh2_sftp_realpath' => ['string|false', 'sftp'=>'resource', 'filename'=>'string'],
1153511535
'ssh2_sftp_rename' => ['bool', 'sftp'=>'resource', 'from'=>'string', 'to'=>'string'],
1153611536
'ssh2_sftp_rmdir' => ['bool', 'sftp'=>'resource', 'dirname'=>'string'],
1153711537
'ssh2_sftp_stat' => ['array|false', 'sftp'=>'resource', 'path'=>'string'],
1153811538
'ssh2_sftp_symlink' => ['bool', 'sftp'=>'resource', 'target'=>'string', 'link'=>'string'],
1153911539
'ssh2_sftp_unlink' => ['bool', 'sftp'=>'resource', 'filename'=>'string'],
11540-
'ssh2_shell' => ['resource', 'session'=>'resource', 'term_type='=>'string', 'env='=>'array', 'width='=>'int', 'height='=>'int', 'width_height_type='=>'int'],
11541-
'ssh2_tunnel' => ['resource', 'session'=>'resource', 'host'=>'string', 'port'=>'int'],
11540+
'ssh2_shell' => ['resource|false', 'session'=>'resource', 'term_type='=>'string', 'env='=>'array', 'width='=>'int', 'height='=>'int', 'width_height_type='=>'int'],
11541+
'ssh2_tunnel' => ['resource|false', 'session'=>'resource', 'host'=>'string', 'port'=>'int'],
1154211542
'stat' => ['array|false', 'filename'=>'string'],
1154311543
'stats_absolute_deviation' => ['float', 'a'=>'array'],
1154411544
'stats_cdf_beta' => ['float', 'par1'=>'float', 'par2'=>'float', 'par3'=>'float', 'which'=>'int'],

0 commit comments

Comments
 (0)