File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 36
36
"amphp/dns" : " ^2" ,
37
37
"amphp/byte-stream" : " ^2" ,
38
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 "
39
+ "league/uri" : " ^7" ,
40
+ "league/uri-interfaces" : " ^7" ,
41
+ "revolt/event-loop" : " ^1"
42
42
},
43
43
"require-dev" : {
44
44
"phpunit/phpunit" : " ^9" ,
Original file line number Diff line number Diff line change @@ -77,8 +77,7 @@ public static function tunnel(
77
77
throw new \Error ("Both or neither username and password must be provided! " );
78
78
}
79
79
80
- /** @psalm-suppress DeprecatedMethod */
81
- $ uri = Uri::createFromString ($ target );
80
+ $ uri = Uri::new ($ target );
82
81
83
82
$ read = function (int $ length ) use ($ socket , $ cancellation ): string {
84
83
\assert ($ length > 0 );
You can’t perform that action at this time.
0 commit comments