function JumpStatementsSpacingSniff::checkLinesAfter
Overrides AbstractControlStructureSpacing::checkLinesAfter
File
-
vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ ControlStructures/ JumpStatementsSpacingSniff.php, line 166
Class
Namespace
SlevomatCodingStandard\Sniffs\ControlStructuresCode
protected function checkLinesAfter(File $phpcsFile, int $jumpStatementPointer) : void {
if ($this->allowSingleLineYieldStacking && $this->isStackedSingleLineYield($phpcsFile, $jumpStatementPointer, false)) {
return;
}
if ($this->isThrowExpression($phpcsFile, $jumpStatementPointer)) {
return;
}
parent::checkLinesAfter($phpcsFile, $jumpStatementPointer);
}