Change to two spaces
This commit is contained in:
parent
2537fe2052
commit
ed60ab964c
556 changed files with 2252 additions and 2252 deletions
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
title: >
|
||||
Camel-case or snake-case for Drupal code?
|
||||
Camel-case or snake-case for Drupal code?
|
||||
pubDate: 2023-04-19
|
||||
permalink: >-
|
||||
archive/2023/04/19/camel-case-or-snake-case-for-drupal-code
|
||||
archive/2023/04/19/camel-case-or-snake-case-for-drupal-code
|
||||
tags:
|
||||
- drupal
|
||||
- php
|
||||
- drupal
|
||||
- php
|
||||
---
|
||||
|
||||
For some time, [Drupal's PHP coding standards](https://www.drupal.org/docs/develop/standards/php/php-coding-standards#s-functions-and-variables) allows for writing variables in either snake-case (e.g. `$my_variable`) or lower camel-case (`e.g. $myVariable`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue