Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

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.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal