Skip to content

Commit 5bb2654

Browse files
ahmedebnOskarStark
authored andcommitted
Adopt Snake Case Naming for Route Paths and Names
1 parent e5b9efb commit 5bb2654

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contributing/code/standards.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ Naming Conventions
214214
* Use `camelCase`_ for PHP variables, function and method names, arguments
215215
(e.g. ``$acceptableContentTypes``, ``hasSession()``);
216216

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

220220
* Use SCREAMING_SNAKE_CASE for constants (e.g. ``InputArgument::IS_ARRAY``);
221221

0 commit comments

Comments
 (0)