feat(tcp): support TLS/SSL #11186
Annotations
10 errors
running static analysis:
../src/Psl/IO/Internal/close_resource.php#L26
../src/Psl/IO/Internal/close_resource.php:26:9: MissingThrowsDocblock: Psl\IO\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
|
running static analysis:
../src/Psl/Network/Internal/AbstractStreamServer.php#L84
../src/Psl/Network/Internal/AbstractStreamServer.php:84:33: InvalidReturnType: The declared return type 'Generator<null, Psl\Network\StreamSocketInterface, void, null>' for Psl\Network\Internal\AbstractStreamServer::incoming is incorrect, got 'Generator<null, Psl\Network\Internal\Socket, mixed, void>' (see https://psalm.dev/011)
|
running static analysis:
../src/Psl/Network/Internal/AbstractStreamServer.php#L99
../src/Psl/Network/Internal/AbstractStreamServer.php:99:13: MissingThrowsDocblock: Psl\Network\Exception\AlreadyStoppedException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
|
running static analysis:
../src/Psl/Network/Internal/AbstractStreamServer.php#L108
../src/Psl/Network/Internal/AbstractStreamServer.php:108:9: MissingThrowsDocblock: Psl\Network\Exception\RuntimeException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
|
running static analysis:
../src/Psl/TCP/Internal/TCPSocket.php#L29
../src/Psl/TCP/Internal/TCPSocket.php:29:37: PropertyNotSetInConstructor: Property Psl\TCP\Internal\TCPSocket::$handle is not defined in constructor of Psl\TCP\Internal\TCPSocket or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
running static analysis:
../src/Psl/TCP/Internal/TCPSocket.php#L53
../src/Psl/TCP/Internal/TCPSocket.php:53:13: MissingThrowsDocblock: Psl\IO\Exception\AlreadyClosedException is thrown but not caught - please either catch or add a @throws annotation (see https://psalm.dev/169)
|
running static analysis:
../src/Psl/TCP/Internal/TCPSocket.php#L58
../src/Psl/TCP/Internal/TCPSocket.php:58:41: MixedArgument: Argument 2 of Psl\TCP\TLS\Internal\setup cannot be non-empty-mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
running static analysis:
../src/Psl/TCP/Server.php#L61
../src/Psl/TCP/Server.php:61:33: InvalidReturnType: The declared return type 'Generator<null, Psl\Network\StreamSocketInterface, void, null>' for Psl\TCP\Server::incoming is incorrect, got 'Generator<null, Psl\TCP\Internal\TCPSocket, mixed, void>' (see https://psalm.dev/011)
|
running static analysis:
../src/Psl/TCP/TLS/Internal/client_context.php#L53
../src/Psl/TCP/TLS/Internal/client_context.php:53:9: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
|
running static analysis:
../src/Psl/TCP/TLS/Internal/client_context.php#L53
../src/Psl/TCP/TLS/Internal/client_context.php:53:38: UndefinedFunction: Function Psl\TCP\TLS\Internal\Str\join does not exist (see https://psalm.dev/021)
|
The logs for this run have expired and are no longer available.
Loading