From f79cd239a8f1028fa9cf2d3c0792c578d5517a64 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Fri, 9 Oct 2026 20:35:53 -0500 Subject: [PATCH 1/2] chore(deps): bump webware/webware-tools to 1.0.0-rc.3 Signed-off-by: Joey Smith --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index ded6650..1f44b1c 100644 --- a/composer.lock +++ b/composer.lock @@ -10558,16 +10558,16 @@ }, { "name": "webware/webware-tools", - "version": "1.0.0-beta.9", + "version": "1.0.0-rc.3", "source": { "type": "git", "url": "https://github.com/webinertia/webware-tools.git", - "reference": "bec8ccaa8ca17896d2ee22b3a7067e53c33b79e2" + "reference": "9fbca6e240d850f258caeea0619c6b44df0a2a86" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webinertia/webware-tools/zipball/bec8ccaa8ca17896d2ee22b3a7067e53c33b79e2", - "reference": "bec8ccaa8ca17896d2ee22b3a7067e53c33b79e2", + "url": "https://api.github.com/repos/webinertia/webware-tools/zipball/9fbca6e240d850f258caeea0619c6b44df0a2a86", + "reference": "9fbca6e240d850f258caeea0619c6b44df0a2a86", "shasum": "" }, "require": { @@ -10596,9 +10596,9 @@ ], "support": { "issues": "https://github.com/webinertia/webware-tools/issues", - "source": "https://github.com/webinertia/webware-tools/tree/1.0.0-beta.9" + "source": "https://github.com/webinertia/webware-tools/tree/1.0.0-rc.3" }, - "time": "2026-10-03T14:52:08+00:00" + "time": "2026-10-10T01:33:39+00:00" } ], "aliases": [], From 61eb241053df09edcd720d0a50049943d9e9e90e Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Fri, 9 Oct 2026 20:35:53 -0500 Subject: [PATCH 2/2] chore: apply mago 1.55.0 formatting Mechanical output of the Mago 1.55.0 formatter, which webware-tools 1.0.0-rc.3 pins. The 1.55.0 formatter drops redundant parentheses on instantiation-and-invoke expressions and normalizes whitespace inside parenthesized expressions, so the files below change without any semantic effect. Signed-off-by: Joey Smith --- .../Http/Middleware/Container/MessageMiddlewareFactoryTest.php | 2 +- test/unit/View/Helper/SystemMessengerFactoryTest.php | 2 +- test/unit/View/Helper/SystemMessengerTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/Http/Middleware/Container/MessageMiddlewareFactoryTest.php b/test/unit/Http/Middleware/Container/MessageMiddlewareFactoryTest.php index 7968a1b..aeac123 100644 --- a/test/unit/Http/Middleware/Container/MessageMiddlewareFactoryTest.php +++ b/test/unit/Http/Middleware/Container/MessageMiddlewareFactoryTest.php @@ -55,7 +55,7 @@ public function factoryBuildsMiddlewareUsingHelperFromPluginManager(): void static fn(string $id): mixed => HelperPluginManager::class === $id ? $helperManager : null, ); - $middleware = (new MessageMiddlewareFactory())($container); + $middleware = new MessageMiddlewareFactory()($container); self::assertInstanceOf(MessageMiddleware::class, $middleware); } diff --git a/test/unit/View/Helper/SystemMessengerFactoryTest.php b/test/unit/View/Helper/SystemMessengerFactoryTest.php index 706f7b7..e91e703 100644 --- a/test/unit/View/Helper/SystemMessengerFactoryTest.php +++ b/test/unit/View/Helper/SystemMessengerFactoryTest.php @@ -31,6 +31,6 @@ final class SystemMessengerFactoryTest extends TestCase #[Test] public function factoryCreatesHelper(): void { - self::assertInstanceOf(SystemMessenger::class, (new SystemMessengerFactory())()); + self::assertInstanceOf(SystemMessenger::class, new SystemMessengerFactory()()); } } diff --git a/test/unit/View/Helper/SystemMessengerTest.php b/test/unit/View/Helper/SystemMessengerTest.php index 7603783..7eb43a4 100644 --- a/test/unit/View/Helper/SystemMessengerTest.php +++ b/test/unit/View/Helper/SystemMessengerTest.php @@ -77,7 +77,7 @@ public function invokeRendersToastForEachStoredMessageLevel(): void #[Test] public function invokeReturnsEmptyStringWhenNoMessengerIsSet(): void { - self::assertSame('', (new SystemMessengerHelper())()); + self::assertSame('', new SystemMessengerHelper()()); } /**