Skip to content

Commit 04ccd92

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: Adopt Snake Case Naming for Route Paths and Names
2 parents 52d4f7b + 88c93ec commit 04ccd92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contributing/code/standards.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ Naming Conventions
211211
* Use `camelCase`_ for PHP variables, function and method names, arguments
212212
(e.g. ``$acceptableContentTypes``, ``hasSession()``);
213213

214-
* Use `snake_case`_ for configuration parameters and Twig template variables
215-
(e.g. ``framework.csrf_protection``, ``http_status_code``);
214+
Use `snake_case`_ for configuration parameters, route names and Twig template
215+
variables (e.g. ``framework.csrf_protection``, ``http_status_code``);
216216

217217
* Use SCREAMING_SNAKE_CASE for constants (e.g. ``InputArgument::IS_ARRAY``);
218218

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy