Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SymfonyHttpClient request method if http client is not available #68

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

norkunas
Copy link
Contributor

@norkunas norkunas commented Dec 1, 2023

Closes #66

public function process(ContainerBuilder $container): void
{
if ($container->hasDefinition('http_client')) {
$container->setAlias('karser_recaptcha3.google.request_method', 'karser_recaptcha3.request_method.symfony_http_client');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@norkunas could you please clarify defining the alias in the extension vs compiler?

@karser
Copy link
Owner

karser commented Dec 18, 2023

@norkunas could you please rebase the PR against master?

@norkunas
Copy link
Contributor Author

@norkunas could you please rebase the PR against master?

rebased

@karser karser merged commit 723f215 into karser:master Jan 9, 2024
20 checks passed
@norkunas norkunas deleted the fix-reqmethod branch January 9, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants