Skip to content

Symfony 5.4 deprecations adressed #679

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

Merged
merged 3 commits into from
Dec 21, 2021
Merged

Conversation

Eloar
Copy link
Contributor

@Eloar Eloar commented Dec 17, 2021

Noticed some deprecation messages from RabbitMqBundle when upgraded my project from Symfony 5.3 to Symfony 5.4. Added some more type hinting in Extension class.

@Eloar Eloar requested a review from mihaileu as a code owner December 17, 2021 07:37
@mihaileu
Copy link
Collaborator

@Eloar is it working with older sy versions ?

@Eloar
Copy link
Contributor Author

Eloar commented Dec 17, 2021

@mihaileu based on tests/checks it does work with lowest version currently supported (Symfony 4.3).

@mihaileu
Copy link
Collaborator

I think we can merge it after merge this one: #675 as we will lose that older sy compatibility

@@ -71,7 +72,7 @@ public function load(array $configs, ContainerBuilder $container)
}
}

public function getConfiguration(array $config, ContainerBuilder $container)
public function getConfiguration(array $config, ContainerBuilder $container): ?ConfigurationInterface
Copy link
Contributor

Choose a reason for hiding this comment

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

It's unlikely that this method will return null ever.

@mihaileu mihaileu merged commit b2265a8 into php-amqplib:master Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants