From 1f0dc6cc1e46c568749506d885fb809b09ee5ff6 Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Fri, 2 Feb 2024 12:50:27 +0530 Subject: [PATCH] Update swoole version --- composer.json | 2 +- composer.lock | 32 +++++++++++----------- tests/e2e/Services/Account/AccountBase.php | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index b6951e9a4..d3afb874c 100644 --- a/composer.json +++ b/composer.json @@ -65,7 +65,7 @@ "utopia-php/queue": "0.6.*", "utopia-php/registry": "0.5.*", "utopia-php/storage": "0.18.*", - "utopia-php/swoole": "0.5.*", + "utopia-php/swoole": "0.8.*", "utopia-php/vcs": "0.6.*", "utopia-php/websocket": "0.1.*", "matomo/device-detector": "6.1.*", diff --git a/composer.lock b/composer.lock index 4ae4fd374..8c30f5da7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4b9b6ff602a179493e0196636d961e9c", + "content-hash": "f146300fe86e42d31f9cd99dd0807bbe", "packages": [ { "name": "adhocore/jwt", @@ -1195,16 +1195,16 @@ }, { "name": "utopia-php/database", - "version": "0.48.0", + "version": "0.48.1", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "2651f41b9d3909dc123d26becfb6a3a44fb63077" + "reference": "52abe057180a76fe354a516300344b33f268f6ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/2651f41b9d3909dc123d26becfb6a3a44fb63077", - "reference": "2651f41b9d3909dc123d26becfb6a3a44fb63077", + "url": "https://api.github.com/repos/utopia-php/database/zipball/52abe057180a76fe354a516300344b33f268f6ea", + "reference": "52abe057180a76fe354a516300344b33f268f6ea", "shasum": "" }, "require": { @@ -1245,9 +1245,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.48.0" + "source": "https://github.com/utopia-php/database/tree/0.48.1" }, - "time": "2024-01-19T08:17:22+00:00" + "time": "2024-02-02T04:54:13+00:00" }, { "name": "utopia-php/domains", @@ -2084,28 +2084,28 @@ }, { "name": "utopia-php/swoole", - "version": "0.5.0", + "version": "0.8.2", "source": { "type": "git", "url": "https://github.com/utopia-php/swoole.git", - "reference": "c2a3a4f944a2f22945af3cbcb95b13f0769628b1" + "reference": "5fa9d42c608ad46a4ce42a6d2b2eae00592fccd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/swoole/zipball/c2a3a4f944a2f22945af3cbcb95b13f0769628b1", - "reference": "c2a3a4f944a2f22945af3cbcb95b13f0769628b1", + "url": "https://api.github.com/repos/utopia-php/swoole/zipball/5fa9d42c608ad46a4ce42a6d2b2eae00592fccd4", + "reference": "5fa9d42c608ad46a4ce42a6d2b2eae00592fccd4", "shasum": "" }, "require": { "ext-swoole": "*", "php": ">=8.0", - "utopia-php/framework": "0.*.*" + "utopia-php/framework": "0.33.*" }, "require-dev": { "laravel/pint": "1.2.*", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.3", - "swoole/ide-helper": "4.8.3", - "vimeo/psalm": "4.15.0" + "swoole/ide-helper": "5.0.2" }, "type": "library", "autoload": { @@ -2129,9 +2129,9 @@ ], "support": { "issues": "https://github.com/utopia-php/swoole/issues", - "source": "https://github.com/utopia-php/swoole/tree/0.5.0" + "source": "https://github.com/utopia-php/swoole/tree/0.8.2" }, - "time": "2022-10-19T22:19:07+00:00" + "time": "2024-02-01T14:54:12+00:00" }, { "name": "utopia-php/system", diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index 2911ad477..9deae301d 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -57,7 +57,7 @@ trait AccountBase 'name' => $name, ]); - // $this->assertEquals(451, $response['headers']['status-code']); + $this->assertEquals(451, $response['headers']['status-code']); $response = $this->client->call(Client::METHOD_POST, '/account', array_merge([ 'origin' => 'http://localhost',