PHP Class PHPSA\Analyzer\Pass\Statement\MissingBreakStatement

Inheritance: implements PHPSA\Analyzer\Pass\AnalyzerPassInterface, use trait PHPSA\Analyzer\Helper\DefaultMetadataPassTrait
Show file Open project: ovr/phpsa

Public Methods

Method Description
getRegister ( ) : array
pass ( PhpParser\Node\Stmt\Switch_ $switchStmt, Context $context ) : boolean

Private Methods

Method Description
checkCaseStatement ( PhpParser\Node\Stmt\Case_ $case, Context $context ) : boolean

Method Details

getRegister() public method

public getRegister ( ) : array
return array

pass() public method

public pass ( PhpParser\Node\Stmt\Switch_ $switchStmt, Context $context ) : boolean
$switchStmt PhpParser\Node\Stmt\Switch_
$context PHPSA\Context
return boolean