namespace Drupal\Sniffs\Functions
Object name | File name | Summary |
---|---|---|
DiscouragedFunctionsSniff | vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php | Discourage the use of debug functions. |
FunctionDeclarationSniff | vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Functions/FunctionDeclarationSniff.php | Ensure that there is only one space after the function keyword and no space before the opening parenthesis. |
MultiLineFunctionDeclarationSniff | vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php | Multi-line function declarations need to have a trailing comma on the last parameter. Modified from Squiz, whenever there is a function declaration closing parenthesis on a new line we treat it as multi-line. |