Add Socks5SocketConnector from amphp/http-tunnel #218
Annotations
5 errors and 1 warning
|
Run static analysis:
src/Socks5SocketConnector.php#L75
src/Socks5SocketConnector.php:75:8: InvalidReturnType: No return statements were found for method Amp\Socket\Socks5SocketConnector::tunnel but return type 'Amp\Socket\Socket' was expected (see https://psalm.dev/011)
|
Run static analysis:
src/Socks5SocketConnector.php#L80
src/Socks5SocketConnector.php:80:16: DeprecatedMethod: The method League\Uri\Uri::createFromString has been marked as deprecated (see https://psalm.dev/001)
|
Run static analysis:
src/Socks5SocketConnector.php#L88
src/Socks5SocketConnector.php:88:55: InvalidArgument: Argument 2 of Amp\Socket\Socket::read expects int<1, max>|null, but int<min, max> provided (see https://psalm.dev/004)
|
Run static analysis
Process completed with exit code 2.
|
Get Composer cache directory
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading