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

Breadcrumb

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

function TokenHelper::findNextEffective

*

Parameters

int $startPointer Search starts at this token, inclusive: * @param int|null $endPointer Search ends at this token, exclusive

137 calls to TokenHelper::findNextEffective()
AbstractControlStructureSpacing::checkLinesAfter in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/AbstractControlStructureSpacing.php
AbstractControlStructureSpacing::findControlStructureEnd in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/AbstractControlStructureSpacing.php
AbstractLineCall::getCall in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Functions/AbstractLineCall.php
AbstractLineCall::isCall in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Functions/AbstractLineCall.php
AbstractLineCondition::isPartOfDo in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/AbstractLineCondition.php

... See full list

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/TokenHelper.php, line 198

Class

TokenHelper
@internal

Namespace

SlevomatCodingStandard\Helpers

Code

public static function findNextEffective(File $phpcsFile, int $startPointer, ?int $endPointer = null) : ?int {
    return self::findNextExcluding($phpcsFile, self::$ineffectiveTokenCodes, $startPointer, $endPointer);
}

API Navigation

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