From 5bb26548bea584015942341eaf2ad3c80578c9cb Mon Sep 17 00:00:00 2001 From: Ahmed EBEN HASSINE Date: Fri, 11 Oct 2024 12:55:13 +0200 Subject: [PATCH] Adopt Snake Case Naming for Route Paths and Names --- contributing/code/standards.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing/code/standards.rst b/contributing/code/standards.rst index 2668269dfcc..b516f835179 100644 --- a/contributing/code/standards.rst +++ b/contributing/code/standards.rst @@ -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``);