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": [], 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); } }