Skip to content

Commit e6a27ef

Browse files
committed
minor #16238 Correct spelling & grammar in 4.4 best-practices.rst (gnito-org)
This PR was merged into the 4.4 branch. Discussion ---------- Correct spelling & grammar in 4.4 best-practices.rst <!-- 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 ------- e784be8 Correct spelling & grammar in 4.4 best-practices.rst
2 parents e3b3460 + e784be8 commit e6a27ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

best_practices.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Templates
265265
Use Snake Case for Template Names and Variables
266266
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
267267

268-
Use lowercased snake_case for template names, directories and variables (e.g.
268+
Use lowercase snake_case for template names, directories and variables (e.g.
269269
``user_profile`` instead of ``userProfile`` and ``product/edit_form.html.twig``
270270
instead of ``Product/EditForm.html.twig``).
271271

@@ -383,7 +383,7 @@ Use Webpack Encore to Process Web Assets
383383
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
384384

385385
Web assets are things like CSS, JavaScript and image files that make the
386-
frontend of your site look and work great. `Webpack`_ is the leading JavaScript
386+
frontend of your site looks and works great. `Webpack`_ is the leading JavaScript
387387
module bundler that compiles, transforms and packages assets for usage in a browser.
388388

389389
:doc:`Webpack Encore </frontend>` is a JavaScript library that gets rid of most
@@ -435,7 +435,7 @@ Add this test while creating your application because it requires little effort
435435
and checks that none of your pages returns an error. Later, you'll add more
436436
specific tests for each page.
437437

438-
Hardcode URLs in a Functional Test
438+
Hard-code URLs in a Functional Test
439439
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
440440

441441
In Symfony applications, it's recommended to :ref:`generate URLs <routing-generating-urls>`

0 commit comments

Comments
 (0)