Commit Graph

603 Commits

Author SHA1 Message Date
Ayesh Karunaratne
6931c96422
[PHP 8.4] Fixes for implicit nullability deprecation
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)
2024-03-16 02:33:11 +07:00
terrafrost
f5a6d02217 Merge branch '3.0' 2024-02-26 07:55:13 -06:00
terrafrost
792314e851 SSH2: openChannel -> open_channel
makes openChannel snake case like close_channel already is. this is
not a BC break as openChannel is protected
2024-02-26 07:52:24 -06:00
terrafrost
4427f40112 Merge branch '3.0' 2024-02-07 22:44:27 -06:00
terrafrost
8f3a66547a Merge branch '2.0' into 3.0 2024-02-07 22:43:03 -06:00
terrafrost
34ab00b27d Merge branch '1.0' into 2.0 2024-02-07 22:42:46 -06:00
terrafrost
a69364def9 SSH2/SFTP: tweak docblock comments for getLastError() / etc 2024-02-07 22:42:24 -06:00
terrafrost
5833f00bb5 Merge branch '3.0' 2024-01-24 07:40:56 -06:00
terrafrost
6b34da463c SFTP: size() isn't a method.. 2024-01-12 15:44:58 -06:00
terrafrost
48e3b3c264 Merge branch '3.0' 2024-01-12 11:00:02 -06:00
terrafrost
978a5d9dc0 SFTP: fix possible E_NOTICE with put() 2024-01-12 10:58:38 -06:00
terrafrost
bae3b79ae0 Merge branch '3.0' 2023-12-08 21:38:55 -06:00
terrafrost
0548866d42 Merge branch '2.0' into 3.0 2023-12-08 21:38:40 -06:00
terrafrost
5a903ae520 Merge branch '1.0' into 2.0 2023-12-08 18:58:54 -06:00
terrafrost
404f86fb61 SFTP: ping() didn't work for SFTP connections 2023-12-08 18:58:32 -06:00
terrafrost
c160a020db Merge branch '3.0' 2023-08-28 08:51:17 -05:00
terrafrost
aeac69b846 Merge branch '2.0' into 3.0 2023-08-28 08:51:10 -05:00
terrafrost
bc62673fdd Merge branch '1.0' into 2.0 2023-08-28 08:51:02 -05:00
terrafrost
320c43a4a0 SFTP: fix issue with get() downloading to files / streams
the code that's being removed has its origins in 65193d9a25. in that commit the packet length is set outside of the while loop. this would continue to be the case until https://github.com/phpseclib/phpseclib/pull/945.
2023-08-28 08:47:30 -05:00
terrafrost
278f8e5f5a Merge branch '1.0' into 2.0 2023-08-24 20:21:13 -05:00
terrafrost
0f23be3188 SFTP: fix SFTPv2 errors when logging errors 2023-08-24 20:20:47 -05:00
terrafrost
2d33d7b0dc Merge branch '3.0' 2023-07-02 11:56:58 -05:00
terrafrost
3334a3243c Merge branch '2.0' into 3.0 2023-07-02 11:55:51 -05:00
terrafrost
09f19cb92a Merge branch '1.0' into 2.0 2023-07-02 11:55:40 -05:00
terrafrost
de09e8e817 SFTP: RESUME_START didn't work as described 2023-07-02 11:48:07 -05:00
terrafrost
65693db644 Merge branch '3.0' 2023-07-02 11:29:03 -05:00
terrafrost
9341e090c5 Merge branch '2.0' into 3.0 2023-07-02 11:18:17 -05:00
terrafrost
6aa6a5241f SFTP: CS adjustments 2023-07-02 10:46:34 -05:00
terrafrost
411d09cb7a Merge branch '1.0' into 2.0 2023-07-02 10:45:46 -05:00
terrafrost
df3dab7d3f SFTP: make it so SFTP::RESUME also sets offset of local file 2023-07-02 10:45:25 -05:00
terrafrost
6833fc79a6 Merge branch '3.0' 2023-06-04 16:39:59 -05:00
terrafrost
4f113bc96c SFTP: CS adjustment 2023-06-04 16:39:44 -05:00
terrafrost
dff24146af CS adjustment 2023-06-04 16:33:58 -05:00
terrafrost
ff26e22563 CS adjustments 2023-06-04 11:26:34 -05:00
terrafrost
501c96c48c Merge branch '3.0' 2023-06-04 10:51:36 -05:00
terrafrost
b8f8f0b7db SFTP: add optional $recursive parameter to filesize() 2023-06-04 10:50:26 -05:00
terrafrost
1b1c073d1e Merge branch '3.0' 2023-05-18 08:24:02 -05:00
thomascorthals
c71c217fd5 SFTP typehint fixes 2023-05-15 11:15:49 +02:00
terrafrost
b25206e92b
Merge pull request #1904 from terrafrost/3.0-openchannel
(3.0 branch) SSH/SFTP: create new openChannel() method to eliminate dupe code
2023-05-10 04:38:51 -05:00
terrafrost
e6f86e1770 Merge branch '3.0-openchannel' into master-openchannel 2023-05-07 11:35:24 -05:00
terrafrost
89d8e6ecbb SFTP: rm redundant code 2023-05-07 11:07:38 -05:00
terrafrost
8b67d0ac32 Merge branch '2.0' into 3.0 2023-04-12 20:56:23 -05:00
terrafrost
d5d0fca7cf Merge branch '1.0' into 2.0 2023-04-12 20:49:21 -05:00
terrafrost
53f967c36e SFTP: fix NET_SFTP_ATTR_EXTENDED 2023-04-12 20:49:07 -05:00
terrafrost
55578577c5 Merge branch '3.0-openchannel' into master-openchannel 2023-03-30 20:52:26 -05:00
terrafrost
cecabb1fea SSH/SFTP: create new openChannel() method to eliminate dupe code 2023-03-27 17:46:46 -05:00
terrafrost
b799abd1a0 SSH/SFTP: make message numbers / packet types static as well 2023-03-23 13:04:07 -05:00
terrafrost
9705cbbc26 SSH/SFTP: make define_array static 2023-03-23 12:23:43 -05:00
terrafrost
1b1e729632 backport enhancements from the 2.0 branch 2023-02-11 22:20:03 -06:00
terrafrost
ad7a7d5c8f fix PHP <5.4 compatability 2023-02-10 12:34:11 -06:00