File tree Expand file tree Collapse file tree 7 files changed +9
-1
lines changed Expand file tree Collapse file tree 7 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace Hyperf \WebSocketClient ;
1314
1415use Hyperf \HttpMessage \Server \Response ;
Original file line number Diff line number Diff line change 99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace Hyperf \WebSocketClient ;
1314
1415use Hyperf \HttpMessage \Uri \Uri ;
Original file line number Diff line number Diff line change 99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace Hyperf \WebSocketClient ;
1314
1415class ConfigProvider
Original file line number Diff line number Diff line change 99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace Hyperf \WebSocketClient \Exception ;
1314
1415use RuntimeException ;
Original file line number Diff line number Diff line change 99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace Hyperf \WebSocketClient ;
1314
1415use Stringable ;
Original file line number Diff line number Diff line change 99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace HyperfTest \WebSocketClient ;
1314
1415use Hyperf \HttpMessage \Uri \Uri ;
1516use Hyperf \WebSocketClient \Client ;
17+ use Hyperf \WebSocketClient \Exception \ConnectException ;
1618use PHPUnit \Framework \Attributes \CoversNothing ;
1719use PHPUnit \Framework \TestCase ;
1820
@@ -25,7 +27,7 @@ class ClientTest extends TestCase
2527{
2628 public function testClientConnectFailed ()
2729 {
28- $ this ->expectException (\ Hyperf \ WebSocketClient \ Exception \ ConnectException::class);
30+ $ this ->expectException (ConnectException::class);
2931
3032 new Client (new Uri ('ws://172.168.1.1:9522 ' ));
3133 }
Original file line number Diff line number Diff line change 99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace HyperfTest \WebSocketClient ;
1314
1415use Hyperf \WebSocketClient \Frame ;
You can’t perform that action at this time.
0 commit comments