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

Breadcrumb

  1. Drupal Core 11.1.x
  2. CamelCapsFunctionNameSniff.php

function CamelCapsFunctionNameSniff::__construct

Constructs a Generic_Sniffs_NamingConventions_CamelCapsFunctionNameSniff.

Overrides AbstractScopeSniff::__construct

File

vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php, line 85

Class

CamelCapsFunctionNameSniff

Namespace

PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions

Code

public function __construct() {
    parent::__construct(Tokens::$ooScopeTokens, [
        T_FUNCTION,
    ], true);
}

API Navigation

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