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

Breadcrumb

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

function UnusedPrivateMethodSniff::processTokenOutsideScope

Process tokens outside of scope.

Parameters

\PHP_CodeSniffer\Files\File $phpcsFile The file being processed.:

int $stackPtr The position where this token was: found.

Return value

void

Overrides AbstractScopeSniff::processTokenOutsideScope

File

vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/Objects/UnusedPrivateMethodSniff.php, line 121

Class

UnusedPrivateMethodSniff
Checks that private methods are actually used in a class.

Namespace

DrupalPractice\Sniffs\Objects

Code

protected function processTokenOutsideScope(File $phpcsFile, $stackPtr) {
}

API Navigation

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