You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #41933 [DependencyInjection] Turn $defaultDeprecationTemplate into a constant (derrabus)
This PR was merged into the 4.4 branch.
Discussion
----------
[DependencyInjection] Turn $defaultDeprecationTemplate into a constant
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | symfony/symfony#41928 (comment)
| License | MIT
| Doc PR | N/A
Commits
-------
936e399ff9 [DependencyInjection] Turn $defaultDeprecationTemplate into a constant
Copy file name to clipboardExpand all lines: Alias.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,14 @@
15
15
16
16
class Alias
17
17
{
18
+
privateconstDEFAULT_DEPRECATION_TEMPLATE = 'The "%alias_id%" service alias is deprecated. You should stop using it, as it will be removed in the future.';
19
+
18
20
private$id;
19
21
private$public;
20
22
private$private;
21
23
private$deprecated;
22
24
private$deprecationTemplate;
23
25
24
-
privatestatic$defaultDeprecationTemplate = 'The "%alias_id%" service alias is deprecated. You should stop using it, as it will be removed in the future.';
0 commit comments