PHP Class PHPSA\Analyzer\Pass\Statement\UnexpectedUseOfThis

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 $stmt, Context $context ) : boolean

Private Methods

Method Description
inspectForeach ( PhpParser\Node\Stmt\Foreach_ $foreachStmt, Context $context ) : boolean
inspectGlobalVar ( PhpParser\Node\Stmt\Global_ $globalStmt, Context $context ) : boolean
inspectParams ( PhpParser\Node\Stmt $stmt, Context $context ) : boolean
inspectStaticVar ( PhpParser\Node\Stmt\Static_ $staticStmt, Context $context ) : boolean
inspectTryCatch ( TryCatch $tryCatchStmt, Context $context ) : boolean
inspectUnset ( PhpParser\Node\Stmt\Unset_ $unsetStmt, Context $context ) : boolean

Method Details

getRegister() public method

public getRegister ( ) : array
return array

pass() public method

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