Skip to content

Commit 04ff5ac

Browse files
ahmedebnahmed-bhs
authored andcommitted
Update naming conventions: use snake_case, clarify URL path impact on SEO
1 parent e827d3e commit 04ff5ac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

contributing/code/standards.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +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``);
216-
217-
* Use `snake_case`_ for configuration route names and paths;
214+
Use `snake_case`_ for configuration parameters, route names and Twig template
215+
variables (e.g. ``framework.csrf_protection``, ``http_status_code``);
218216

219217
* Use SCREAMING_SNAKE_CASE for constants (e.g. ``InputArgument::IS_ARRAY``);
220218

0 commit comments

Comments
 (0)