Conversation
ralflang
commented
Apr 12, 2026
- feat: Add connection tests
- fix: backport community fixes from bytestream fork
PR Summary
|
Original-Author: Anna Larch <anna@nextcloud.com> (Ids int cast, ceafee1) Original-Author: Richard Steinmetz <richard@steinmetz.cloud> (Tokenize resource leak, e72ae63) Original-Author: Daniel Kesselberg <mail@danielkesselberg.de> (Socket read timeout exception, 33dc825) Original-Author: Daniel Kesselberg <mail@danielkesselberg.de> (Socket vanished chunking, 69a022d) Original-Author: Kieran Brahney <kieran.brahney@gmail.com> (Pop3 null date cast, fed98c8) Original-Author: Kieran Brahney <kieran.brahney@gmail.com> (Exception constructor defaults, bdb0e46) Original-Author: Daniel Kesselberg <mail@danielkesselberg.de> (Connection debug message, f66eeb6)
Port 5 tests from bytestream fork to modern PHPUnit format: - IdsTest: testForcedIntForRange, testForcedIntForSequence, testAddingWithForcedIntConversion (Anna Larch, ceafee1) - SocketTest: testVanishedCommand, testVanishedCommandChunks (Daniel Kesselberg, 69a022d) Fix pre-existing SocketTest bugs: assertFalse(instanceof) should be assertInstanceOf — passed only because unqualified class name resolved to wrong namespace. Harden Tokenize __destruct/__clone interaction: nullify _stream in __clone before throwing to prevent double-close TypeError.
f74100d to
d5e5ae0
Compare