We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3754621 commit 8833f66Copy full SHA for 8833f66
2 files changed
composer.json
@@ -36,9 +36,9 @@
36
"amphp/dns": "^2",
37
"amphp/byte-stream": "^2",
38
"kelunik/certificate": "^1.1",
39
- "league/uri": "^6.5 | ^7",
40
- "league/uri-interfaces": "^2.3 | ^7",
41
- "revolt/event-loop": "^1 || ^0.2"
+ "league/uri": "^7",
+ "league/uri-interfaces": "^7",
+ "revolt/event-loop": "^1"
42
},
43
"require-dev": {
44
"phpunit/phpunit": "^9",
src/Socks5SocketConnector.php
@@ -77,8 +77,7 @@ public static function tunnel(
77
throw new \Error("Both or neither username and password must be provided!");
78
}
79
80
- /** @psalm-suppress DeprecatedMethod */
81
- $uri = Uri::createFromString($target);
+ $uri = Uri::new($target);
82
83
$read = function (int $length) use ($socket, $cancellation): string {
84
\assert($length > 0);
0 commit comments