Skip to content

Add Socks5SocketConnector from amphp/http-tunnel #218

Add Socks5SocketConnector from amphp/http-tunnel

Add Socks5SocketConnector from amphp/http-tunnel #218

Triggered via push March 19, 2024 19:56
Status Failure
Total duration 49s
Artifacts

ci.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 6 warnings
InvalidReturnType: 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)
DeprecatedMethod: 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)
InvalidArgument: 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)
PHP 8.3
Process completed with exit code 2.
PHP 8.3 on macOS
The job was canceled because "ubuntu-latest_8_3" failed.
PHP 8.1
The job was canceled because "ubuntu-latest_8_3" failed.
InvalidReturnType: 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)
DeprecatedMethod: 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)
InvalidArgument: 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)
PHP 8.1
Process completed with exit code 2.
PHP 8.2
The job was canceled because "ubuntu-latest_8_3" failed.
InvalidReturnType: 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)
DeprecatedMethod: 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)
InvalidArgument: 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)
PHP 8.2
Process completed with exit code 2.
PHP 8.3 on Windows
The job was canceled because "ubuntu-latest_8_3" failed.
PHP 8.3 on Windows
The operation was canceled.
PHP 8.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, nick-invision/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.3
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/
PHP 8.1
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/
PHP 8.2
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/
PHP 8.3 on Windows
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/