We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52d4f7b + 88c93ec commit 04ccd92Copy full SHA for 04ccd92
contributing/code/standards.rst
@@ -211,8 +211,8 @@ Naming Conventions
211
* Use `camelCase`_ for PHP variables, function and method names, arguments
212
(e.g. ``$acceptableContentTypes``, ``hasSession()``);
213
214
-* Use `snake_case`_ for configuration parameters and Twig template variables
215
- (e.g. ``framework.csrf_protection``, ``http_status_code``);
+Use `snake_case`_ for configuration parameters, route names and Twig template
+ variables (e.g. ``framework.csrf_protection``, ``http_status_code``);
216
217
* Use SCREAMING_SNAKE_CASE for constants (e.g. ``InputArgument::IS_ARRAY``);
218
0 commit comments