Skip to content

Commit 88c93ec

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Adopt Snake Case Naming for Route Paths and Names
2 parents 617a2b5 + bfe88ec commit 88c93ec

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)