8000 Fix test fixtures with deprecated method signatures. · symfony/symfony@592aacf · GitHub
[go: up one dir, main page]

Skip to content

Commit 592aacf

Browse files
committed
Fix test fixtures with deprecated method signatures.
1 parent 828e5a4 commit 592aacf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Symfony/Component/HttpKernel/Tests/EventListener/ExceptionListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function testCSPHeaderIsRemoved()
159159

160160
class TestLogger extends Logger implements DebugLoggerInterface
161161
{
162-
public function countErrors()
162+
public function countErrors(Request $request = null)
163163
{
164164
return \count($this->logs['critical']);
165165
}

src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationTrustResolverTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ public function getRoles()
172172
{
173173
}
174174

175+
public function getRoleNames(): array
176+
{
177+
}
178+
175179
public function getCredentials()
176180
{
177181
}

0 commit comments

Comments
 (0)
0