PHP Class PHPSA\Analyzer\Pass\Expression\DivisionByOne

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\Expr $expr, Context $context ) : boolean

Method Details

getRegister() public method

public getRegister ( ) : array
return array

pass() public method

public pass ( PhpParser\Node\Expr $expr, Context $context ) : boolean
$expr PhpParser\Node\Expr
$context PHPSA\Context
return boolean