Commit f955ee4
committed
bug symfony#58919 [WebProfilerBundle] Twig deprecations (mazodude)
This PR was submitted for the 7.1 branch but it was merged into the 5.4 branch instead.
Discussion
----------
[WebProfilerBundle] Twig deprecations
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues | N/A
| License | MIT
This fixes some twig deprecations in the Web Profiler Bundle.
Since twig/twig 3.15: Add explicit parentheses around the "??" binary operator to avoid behavior change in the next major version as its precedence will change in "`@WebProfiler`/Collector/notifier.html.twig" at line 141
Not entirely sure which branch this should go against. Also not sure if this is a bugfix as it isn't really a bug.
Please feel free to correct it
Commits
-------
0a868c4 Fix twig deprecations in web profiler twig filesFile tree
1 file changed
+1
-1
lines changed- src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments