Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04ccd92

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: Adopt Snake Case Naming for Route Paths and Names
2 parents52d4f7b +88c93ec commit04ccd92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contributing/code/standards.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +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 parametersand Twig template variables
215-
(e.g. ``framework.csrf_protection``, ``http_status_code``);
214+
Use `snake_case`_ for configuration parameters, route namesand Twig template
215+
variables(e.g. ``framework.csrf_protection``, ``http_status_code``);
216216

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp