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
File
-
vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ TokenHelper.php, line 198
Class
- TokenHelper
- @internal
Namespace
SlevomatCodingStandard\HelpersCode
public static function findNextEffective(File $phpcsFile, int $startPointer, ?int $endPointer = null) : ?int {
return self::findNextExcluding($phpcsFile, self::$ineffectiveTokenCodes, $startPointer, $endPointer);
}