Skip to content

Commit

Permalink
minor #453 [ci] tag test as legacy due to deprecation notice
Browse files Browse the repository at this point in the history
* [ci] tag test as legacy due to deprecation notice

- can drop legacy annotations once guard authenticators are no longer used

* [ci] explicit nullable type in fixture
  • Loading branch information
jrushlow authored Sep 30, 2024
1 parent ffc61ae commit ca2048e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/Client/ClientRegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

class ClientRegistryTest extends TestCase
{
/**
* @group legacy
* @legacy drop legacy group when no longer using guard authenticators
*/
public function testShouldKnowWhatServicesAreConfigured()
{
$mockServiceMap = [
Expand Down
2 changes: 1 addition & 1 deletion tests/Security/Authenticator/SocialAuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function doFetchAccessToken(OAuth2Client $client)
return $this->fetchAccessToken($client);
}

public function start(Request $request, AuthenticationException $authException = null): Response
public function start(Request $request, ?AuthenticationException $authException = null): Response
{
}
public function supports(Request $request): bool
Expand Down

0 comments on commit ca2048e

Please sign in to comment.