Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c939ea1

Browse filesBrowse files
committed
minor #42535 Fix deprecation messages (fabpot)
This PR was merged into the 5.4 branch. Discussion ---------- Fix deprecation messages | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/A <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | n/a #42534 for 5.4. Commits ------- f95b41f Fix deprecation messages
2 parents 5a9ed18 + f95b41f commit c939ea1
Copy full SHA for c939ea1

File tree

2 files changed

+5
-5
lines changed
Filter options

2 files changed

+5
-5
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Controller/AbstractController.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static function getSubscribedServices()
109109
/**
110110
* Returns true if the service id is defined.
111111
*
112-
* @deprecated since 5.4, use method or constructor injection in your controller instead
112+
* @deprecated since Symfony 5.4, use method or constructor injection in your controller instead
113113
*/
114114
protected function has(string $id): bool
115115
{
@@ -123,7 +123,7 @@ protected function has(string $id): bool
123123
*
124124
* @return object The service
125125
*
126-
* @deprecated since 5.4, use method or constructor injection in your controller instead
126+
* @deprecated since Symfony 5.4, use method or constructor injection in your controller instead
127127
*/
128128
protected function get(string $id): object
129129
{
@@ -379,7 +379,7 @@ protected function createFormBuilder($data = null, array $options = []): FormBui
379379
*
380380
* @throws \LogicException If DoctrineBundle is not available
381381
*
382-
* @deprecated since 5.4, inject an instance of ManagerRegistry in your controller instead
382+
* @deprecated since Symfony 5.4, inject an instance of ManagerRegistry in your controller instead
383383
*/
384384
protected function getDoctrine(): ManagerRegistry
385385
{
@@ -439,7 +439,7 @@ protected function isCsrfTokenValid(string $id, ?string $token): bool
439439
*
440440
* @param object|Envelope $message The message or the message pre-wrapped in an envelope
441441
*
442-
* @deprecated since 5.4, inject an instance of MessageBusInterface in your controller instead
442+
* @deprecated since Symfony 5.4, inject an instance of MessageBusInterface in your controller instead
443443
*/
444444
protected function dispatchMessage(object $message, array $stamps = []): Envelope
445445
{

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ private function createRequestMatcher(ContainerBuilder $container, string $path
10431043
}
10441044

10451045
/**
1046-
* @deprecated since 5.4, use "addAuthenticatorFactory()" instead
1046+
* @deprecated since Symfony 5.4, use "addAuthenticatorFactory()" instead
10471047
*/
10481048
public function addSecurityListenerFactory(SecurityFactoryInterface $factory)
10491049
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.