There doesn't seem to be any enforcement of mixing snake_case for variable names with lowerCamelCase. (For example, the following variable passed PHPCS: $commit_messageFailedPatches)
Can we add something to enforce one or the other (no mixing)?
Side note:
I was surprised that Drupal coding standards don't dictate one or the other:
Variables should be named using lowercase, and words should be separated either with uppercase characters (example: $lowerCamelCase) or with an underscore (example: $snake_case). Be consistent; do not mix camelCase and snake_case variable naming inside a file. - https://project.pages.drupalcode.org/coding_standards/php/coding/#functions-and-variables
🤷♀️
There doesn't seem to be any enforcement of mixing
snake_casefor variable names withlowerCamelCase. (For example, the following variable passed PHPCS:$commit_messageFailedPatches)Can we add something to enforce one or the other (no mixing)?
Side note:
I was surprised that Drupal coding standards don't dictate one or the other:
🤷♀️