From 5f6eaedd04aef71dcfbab03d1b83b15037dd4084 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 07:08:05 +0000 Subject: [PATCH 1/2] chore(deps): update dependency rector/rector to v2.2.2 --- composer.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index 238e7cc..8e4b244 100644 --- a/composer.lock +++ b/composer.lock @@ -3834,21 +3834,21 @@ }, { "name": "rector/rector", - "version": "2.1.7", + "version": "2.2.2", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "c34cc07c4698f007a20dc5c99ff820089ae413ce" + "reference": "5b353f7457b9a0c63fc91ef340f5d119a40991ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/c34cc07c4698f007a20dc5c99ff820089ae413ce", - "reference": "c34cc07c4698f007a20dc5c99ff820089ae413ce", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/5b353f7457b9a0c63fc91ef340f5d119a40991ed", + "reference": "5b353f7457b9a0c63fc91ef340f5d119a40991ed", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.1.18" + "phpstan/phpstan": "^2.1.26" }, "conflict": { "rector/rector-doctrine": "*", @@ -3882,7 +3882,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.1.7" + "source": "https://github.com/rectorphp/rector/tree/2.2.2" }, "funding": [ { @@ -3890,7 +3890,7 @@ "type": "github" } ], - "time": "2025-09-10T11:13:58+00:00" + "time": "2025-10-09T19:50:20+00:00" }, { "name": "sebastian/cli-parser", From 90542044f691f2d2375516e9f3a2d6ed85b1405e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 07:08:43 +0000 Subject: [PATCH 2/2] chore: fix styling and refactor via PHP CS Fixer, Rector, phpcbf --- src/Tables/TableWithLRUAndGC.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tables/TableWithLRUAndGC.php b/src/Tables/TableWithLRUAndGC.php index 7bd7604..a1b8b04 100644 --- a/src/Tables/TableWithLRUAndGC.php +++ b/src/Tables/TableWithLRUAndGC.php @@ -193,7 +193,7 @@ public function __call(mixed $name, mixed $arguments) /* ------------------------- * Property access * ------------------------- */ - public function __get(string $name) + public function __get(string $name): mixed { if (property_exists($this->table, $name)) { return $this->table->$name; @@ -202,7 +202,7 @@ public function __get(string $name) throw new OutOfBoundsException(sprintf('Property %s does not exist on Swoole\Table', $name)); } - public function __set(string $name, $value): void + public function __set(string $name, mixed $value): void { if (property_exists($this->table, $name)) { $this->table->$name = $value;