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

Breadcrumb

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

function IncludeOwnSystemSniff::getIncludedClassFromToken

Determines the included class name from given token.

Parameters

\PHP_CodeSniffer\Files\File $phpcsFile The file where this token was found.:

array $tokens The array of file tokens.:

int $stackPtr The position in the tokens array of the: potentially included class.

Return value

bool

File

vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Channels/IncludeOwnSystemSniff.php, line 89

Class

IncludeOwnSystemSniff

Namespace

PHP_CodeSniffer\Standards\MySource\Sniffs\Channels

Code

protected function getIncludedClassFromToken($phpcsFile, array $tokens, $stackPtr) {
    return false;
}

API Navigation

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