Commit c732edf
committed
minor #14530 add html extension to snake_case recommendation examples (ybenhssaien)
This PR was submitted for the 5.1 branch but it was merged into the 4.4 branch instead.
Discussion
----------
add html extension to snake_case recommendation examples
Some readers may inconsciently memorize the syntax `file_name.twig` and ignores the second `recommendation` (declaring two extension `html.twig`), it can happen if someone looks only for `snak_case` keyword without reading the whole page (at least the second recommentdation).
I suggest to add `html` extension on the first examples to make sure the second recommendation cannot escape reader's eyes.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `5.x` for features of unreleased versions).
-->
Commits
-------
b3ef599 add html extension to snake_case recommendation examples1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
122 |
| - | |
| 121 | + | |
| 122 | + | |
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
|
0 commit comments