Skip to content

Commit

Permalink
Format code by the latest cs-fixer. (#6617)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Mar 23, 2024
1 parent e9eed8e commit ffd97e5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\WebSocketClient;

use Hyperf\HttpMessage\Server\Response;
Expand Down
1 change: 1 addition & 0 deletions src/ClientFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\WebSocketClient;

use Hyperf\HttpMessage\Uri\Uri;
Expand Down
1 change: 1 addition & 0 deletions src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\WebSocketClient;

class ConfigProvider
Expand Down
1 change: 1 addition & 0 deletions src/Exception/ConnectException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\WebSocketClient\Exception;

use RuntimeException;
Expand Down
1 change: 1 addition & 0 deletions src/Frame.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\WebSocketClient;

use Stringable;
Expand Down
4 changes: 3 additions & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace HyperfTest\WebSocketClient;

use Hyperf\HttpMessage\Uri\Uri;
use Hyperf\WebSocketClient\Client;
use Hyperf\WebSocketClient\Exception\ConnectException;
use PHPUnit\Framework\Attributes\CoversNothing;
use PHPUnit\Framework\TestCase;

Expand All @@ -25,7 +27,7 @@ class ClientTest extends TestCase
{
public function testClientConnectFailed()
{
$this->expectException(\Hyperf\WebSocketClient\Exception\ConnectException::class);
$this->expectException(ConnectException::class);

new Client(new Uri('ws://172.168.1.1:9522'));
}
Expand Down
1 change: 1 addition & 0 deletions tests/FrameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace HyperfTest\WebSocketClient;

use Hyperf\WebSocketClient\Frame;
Expand Down

0 comments on commit ffd97e5

Please sign in to comment.