Skip to content

Commit

Permalink
cr remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
konradoboza committed Jul 5, 2024
1 parent 85806bd commit bcaac47
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 182 deletions.
15 changes: 0 additions & 15 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -12235,11 +12235,6 @@ parameters:
count: 1
path: src/lib/MVC/Symfony/Routing/UrlWildcardRouter.php

-
message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\Authentication\\\\RememberMeRepositoryAuthenticationProvider\\:\\:setPermissionResolver\\(\\) has no return type specified\\.$#"
count: 1
path: src/lib/MVC/Symfony/Security/Authentication/RememberMeRepositoryAuthenticationProvider.php

-
message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\Authorization\\\\Attribute\\:\\:__construct\\(\\) has parameter \\$function with no type specified\\.$#"
count: 1
Expand Down Expand Up @@ -47000,16 +46995,6 @@ parameters:
count: 1
path: tests/lib/MVC/Symfony/Security/Authentication/GuardRepositoryAuthenticationProviderTest.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\TokenInterface\\:\\:getFirewallName\\(\\)\\.$#"
count: 1
path: tests/lib/MVC/Symfony/Security/Authentication/RememberMeRepositoryAuthenticationProviderTest.php

-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Security\\\\Core\\\\Authentication\\\\Token\\\\TokenInterface\\:\\:getSecret\\(\\)\\.$#"
count: 1
path: tests/lib/MVC/Symfony/Security/Authentication/RememberMeRepositoryAuthenticationProviderTest.php

-
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\HttpUtilsTest\\:\\:checkRequestPathProvider\\(\\) has no return type specified\\.$#"
count: 1
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function testAuthenticateInConstantTime(): void
$this->getCheckPassportEvent()
);
} catch (Exception) {
// We don't care, we just need test execution to continue
self::fail();
}

$duration = $stopwatch->stop('authenticate_constant_time_test')->getDuration();
Expand Down Expand Up @@ -120,7 +120,7 @@ private function getSubscriber(
$request = $this->createMock(Request::class);
$requestStack = $this->createMock(RequestStack::class);
$requestStack
->method('getCurrentRequest')
->method('getMainRequest')
->willReturn($request);

return new RepositoryUserAuthenticationSubscriber(
Expand Down

This file was deleted.

0 comments on commit bcaac47

Please sign in to comment.