Skip to content

Commit 7c23b5c

Browse files
abnegateclaude
andcommitted
(test): exclude TCP adapter from coverage — runtime-only code
Adapter/TCP.php is 80% Swoole coroutine client code (getConnection, activateSockmap, applySocketOptions) that needs a live server. The testable surface (protocol detection, setters) is already covered by TCPAdapterExtendedTest. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6f1531a commit 7c23b5c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

phpunit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<exclude>
1717
<directory>src/Server</directory>
1818
<directory>src/Sockmap</directory>
19+
<file>src/Adapter/TCP.php</file>
1920
</exclude>
2021
</source>
2122
</phpunit>

0 commit comments

Comments
 (0)