phpcheckstyle icon indicating copy to clipboard operation
phpcheckstyle copied to clipboard

Refactor to use more the StatementStack

Open tchule opened this issue 8 years ago • 1 comments

Some flag should be moved into the current statement context instead of being treated as a global value.

$this->_inFuncCall $this->_inControlStatement $this->_inFunctionStatement $this->_inInterface $this->_justAfterFuncStmt ....

We should know if we are inside a function statement with the context.

tchule avatar Feb 20 '17 12:02 tchule

	$this->_csLeftParenthesis = 0;
	$this->_fcLeftParenthesis = 0;

tchule avatar Feb 20 '17 16:02 tchule