Skip to content

Commit

Permalink
Adopt Snake Case Naming for Route Paths and Names
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedebn authored and OskarStark committed Oct 14, 2024
1 parent e5b9efb commit 5bb2654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contributing/code/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ Naming Conventions
* Use `camelCase`_ for PHP variables, function and method names, arguments
(e.g. ``$acceptableContentTypes``, ``hasSession()``);

* Use `snake_case`_ for configuration parameters and Twig template variables
(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``);

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

Expand Down

0 comments on commit 5bb2654

Please sign in to comment.