private function _checkEmptyBlock() {
		// If the next valid token is } then the statement is empty.
		if ($this->_isActive('checkEmptyBlock') && $this->_currentStatement) {

			if ($this->tokenizer->checkNextValidToken(T_BRACES_CLOSE)) {
				$msg = $this->_getMessage('EMPTY_BLOCK', $this->_currentStatement);
				$this->_writeError('checkEmptyBlock', $msg);
			}
		}
	}
private function _checkEmptyBlock() {
		// If the next valid token is } then the statement is empty.
		if ($this->_isActive('checkEmptyBlock') && $this->_currentStatement) {

			if ($this->tokenizer->checkNextValidToken(T_BRACES_CLOSE)) {
				$msg = $this->_getMessage('EMPTY_BLOCK', $this->_currentStatement);
				$this->_writeError('checkEmptyBlock', $msg);
			}
		}
	}
private function _checkEmptyBlock ( ) { // If the next valid token is } then the statement is empty. if ( $ this -> _isActive ( 'checkEmptyBlock' ) && $ this -> _currentStatement ) { if ( $ this -> tokenizer -> checkNextValidToken ( T_BRACES_CLOSE ) ) { $ msg = $ this -> _getMessage ( 'EMPTY_BLOCK' , $ this -> _currentStatement ) ; $ this -> _writeError ( 'checkEmptyBlock' , $ msg ) ; } } }
Check for empty block.

This function is launched when the current token is {
Check for empty block .