private function _checkWhiteSpaceBefore($text) {
		if ($this->_isActive('checkWhiteSpaceBefore')) {

			if (!$this->_config->isException('checkWhiteSpaceBefore', $text)) {

				if (!$this->tokenizer->checkPreviousToken(T_WHITESPACE)) {
					$msg = $this->_getMessage('SPACE_BEFORE_TOKEN', $text);
					$this->_writeError('checkWhiteSpaceBefore', $msg);
				}
			}
		}
	}
private function _checkWhiteSpaceBefore($text) {
		if ($this->_isActive('checkWhiteSpaceBefore')) {

			if (!$this->_config->isException('checkWhiteSpaceBefore', $text)) {

				if (!$this->tokenizer->checkPreviousToken(T_WHITESPACE)) {
					$msg = $this->_getMessage('SPACE_BEFORE_TOKEN', $text);
					$this->_writeError('checkWhiteSpaceBefore', $msg);
				}
			}
		}
	}
private function _checkWhiteSpaceBefore ( $ text ) { if ( $ this -> _isActive ( 'checkWhiteSpaceBefore' ) ) { if ( ! $ this -> _config -> isException ( 'checkWhiteSpaceBefore' , $ text ) ) { if ( ! $ this -> tokenizer -> checkPreviousToken ( T_WHITESPACE ) ) { $ msg = $ this -> _getMessage ( 'SPACE_BEFORE_TOKEN' , $ text ) ; $ this -> _writeError ( 'checkWhiteSpaceBefore' , $ msg ) ; } } } }
Check for the presence of a white space before the text.

@param String $text
The text of the token to test
Check for the presence of a white space before the text .