Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/integration/ConfigProviderIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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()());
}
}
2 changes: 1 addition & 1 deletion test/unit/Container/RouteProviderFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static function (
$this->createStub(MiddlewareInterface::class),
);

(new RouteProviderFactory())($container)->registerRoutes($collector, $middlewareFactory);
new RouteProviderFactory()($container)->registerRoutes($collector, $middlewareFactory);

return $registered;
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/View/Helper/AdminUrlFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Loading