Skip to content

Commit ffd97e5

Browse files
authored
Format code by the latest cs-fixer. (#6617)
1 parent e9eed8e commit ffd97e5

File tree

7 files changed

+9
-1
lines changed

7 files changed

+9
-1
lines changed

src/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\WebSocketClient;
1314

1415
use Hyperf\HttpMessage\Server\Response;

src/ClientFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\WebSocketClient;
1314

1415
use Hyperf\HttpMessage\Uri\Uri;

src/ConfigProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\WebSocketClient;
1314

1415
class ConfigProvider

src/Exception/ConnectException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\WebSocketClient\Exception;
1314

1415
use RuntimeException;

src/Frame.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace Hyperf\WebSocketClient;
1314

1415
use Stringable;

tests/ClientTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace HyperfTest\WebSocketClient;
1314

1415
use Hyperf\HttpMessage\Uri\Uri;
1516
use Hyperf\WebSocketClient\Client;
17+
use Hyperf\WebSocketClient\Exception\ConnectException;
1618
use PHPUnit\Framework\Attributes\CoversNothing;
1719
use 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
}

tests/FrameTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @contact [email protected]
1010
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111
*/
12+
1213
namespace HyperfTest\WebSocketClient;
1314

1415
use Hyperf\WebSocketClient\Frame;

0 commit comments

Comments
 (0)