PHP Class PHPSA\Analyzer\Pass\Statement\MissingBreakStatement

Inheritance: implements PHPSA\Analyzer\Pass\AnalyzerPassInterface, use trait PHPSA\Analyzer\Helper\DefaultMetadataPassTrait
Afficher le fichier Open project: ovr/phpsa

Méthodes publiques

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

Private Methods

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

Method Details

getRegister() public méthode

public getRegister ( ) : array
Résultat array

pass() public méthode

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