From a6381092d7280ec7e7bc469f1f8ff0ef5529a9c2 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Fri, 9 Oct 2026 20:36:04 -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 bc379fc..c17301d 100644 --- a/composer.lock +++ b/composer.lock @@ -12415,16 +12415,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": { @@ -12453,9 +12453,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 ea956932e5dbf2adfe3fdd66e59ff77579231f96 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Fri, 9 Oct 2026 20:36:04 -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 --- test/integration/ConfigProviderIntegrationTest.php | 4 ++-- test/unit/Container/RouteProviderFactoryTest.php | 2 +- test/unit/View/Helper/AdminUrlFactoryTest.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration/ConfigProviderIntegrationTest.php b/test/integration/ConfigProviderIntegrationTest.php index 60adf03..af8fdd0 100644 --- a/test/integration/ConfigProviderIntegrationTest.php +++ b/test/integration/ConfigProviderIntegrationTest.php @@ -35,7 +35,7 @@ public function configProviderCanBeInvokedMultipleTimes(): void #[Test] public function configProviderDoesNotRegisterTheAclService(): void { - $config = (new ConfigProvider())(); + $config = new ConfigProvider()(); // The ACL implementation itself is supplied by the consuming // application (e.g. webware-acl aliased to the laminas AclInterface); @@ -82,6 +82,6 @@ public function getViewHelpersReturnsExpectedConfig(): void #[Test] public function invokeReturnsExpectedConfig(): void { - static::assertSame(ExpectedConfig::getExpectedConfig(), (new ConfigProvider())()); + static::assertSame(ExpectedConfig::getExpectedConfig(), new ConfigProvider()()); } } diff --git a/test/unit/Container/RouteProviderFactoryTest.php b/test/unit/Container/RouteProviderFactoryTest.php index 09d97d5..3aae121 100644 --- a/test/unit/Container/RouteProviderFactoryTest.php +++ b/test/unit/Container/RouteProviderFactoryTest.php @@ -80,7 +80,7 @@ static function ( $this->createStub(MiddlewareInterface::class), ); - (new RouteProviderFactory())($container)->registerRoutes($collector, $middlewareFactory); + new RouteProviderFactory()($container)->registerRoutes($collector, $middlewareFactory); return $registered; } diff --git a/test/unit/View/Helper/AdminUrlFactoryTest.php b/test/unit/View/Helper/AdminUrlFactoryTest.php index f229b7f..998dc9a 100644 --- a/test/unit/View/Helper/AdminUrlFactoryTest.php +++ b/test/unit/View/Helper/AdminUrlFactoryTest.php @@ -62,6 +62,6 @@ private function resolveUrl(string $routeName, array $config, string $expectedRo ->with($expectedRoute) ->willReturn('/admin'); - return (new AdminUrlFactory())($this->container($config, $urlHelper))($routeName); + return new AdminUrlFactory()($this->container($config, $urlHelper))($routeName); } }