8000 Fix deprecation messages by fabpot · Pull Request #42535 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Fix deprecation messages #42535

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 1 commit into from
Aug 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix deprecation messages
  • Loading branch information
fabpot committed Aug 13, 2021
commit f95b41ff1a63b1284716f33e821dbf2c8963c841
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static function getSubscribedServices()
/**
* Returns true if the service id is defined.
*
* @deprecated since 5.4, use method or constructor injection in your controller instead
* @deprecated since Symfony 5.4, use method or constructor injection in your controller instead
*/
protected function has(string $id): bool
{
Expand All @@ -123,7 +123,7 @@ protected function has(string $id): bool
*
* @return object The service
*
* @deprecated since 5.4, use method or constructor injection in your controller instead
* @deprecated since Symfony 5.4, use method or constructor injection in your controller instead
*/
protected function get(string $id): object
{
Expand Down Expand Up @@ -379,7 +379,7 @@ protected function createFormBuilder($data = null, array $options = []): FormBui
*
* @throws \LogicException If DoctrineBundle is not available
*
* @deprecated since 5.4, inject an instance of ManagerRegistry in your controller instead
* @deprecated since Symfony 5.4, inject an instance of ManagerRegistry in your controller instead
*/
protected function getDoctrine(): ManagerRegistry
{
Expand Down Expand Up @@ -439,7 +439,7 @@ protected function isCsrfTokenValid(string $id, ?string $token): bool
*
* @param object|Envelope $message The message or the message pre-wrapped in an envelope
*
* @deprecated since 5.4, inject an instance of MessageBusInterface in your controller instead
* @deprecated since Symfony 5.4, inject an instance of MessageBusInterface in your controller instead
*/
protected function dispatchMessage(object $message, array $stamps = []): Envelope
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ private function createRequestMatcher(ContainerBuilder $container, string $path
}

/**
* @deprecated since 5.4, use "addAuthenticatorFactory()" instead
* @deprecated since Symfony 5.4, use "addAuthenticatorFactory()" instead
*/
public function addSecurityListenerFactory(SecurityFactoryInterface $factory)
{
Expand Down
0