private function _checkWhiteSpaceAfter($text) {
		if ($this->_isActive('checkWhiteSpaceAfter')) {
			if (!$this->_config->isException('checkWhiteSpaceAfter', $text)) {

				if (!$this->tokenizer->checkNextToken(T_WHITESPACE)) {
					// In case of new line or a PHP closing tag it's OK
					if (!($this->tokenizer->checkNextToken(T_NEW_LINE) || $this->tokenizer->checkNextToken(T_CLOSE_TAG))) {
						$msg = $this->_getMessage('SPACE_AFTER_TOKEN', $text);
						$this->_writeError('checkWhiteSpaceAfter', $msg);
					}
				}
			}
		}
	}
private function _checkWhiteSpaceAfter($text) {
		if ($this->_isActive('checkWhiteSpaceAfter')) {
			if (!$this->_config->isException('checkWhiteSpaceAfter', $text)) {

				if (!$this->tokenizer->checkNextToken(T_WHITESPACE)) {
					// In case of new line or a PHP closing tag it's OK
					if (!($this->tokenizer->checkNextToken(T_NEW_LINE) || $this->tokenizer->checkNextToken(T_CLOSE_TAG))) {
						$msg = $this->_getMessage('SPACE_AFTER_TOKEN', $text);
						$this->_writeError('checkWhiteSpaceAfter', $msg);
					}
				}
			}
		}
	}
private function _checkWhiteSpaceAfter ( $ text ) { if ( $ this -> _isActive ( 'checkWhiteSpaceAfter' ) ) { if ( ! $ this -> _config -> isException ( 'checkWhiteSpaceAfter' , $ text ) ) { if ( ! $ this -> tokenizer -> checkNextToken ( T_WHITESPACE ) ) { // In case of new line or a PHP closing tag it's OK if ( ! ( $ this -> tokenizer -> checkNextToken ( T_NEW_LINE ) || $ this -> tokenizer -> checkNextToken ( T_CLOSE_TAG ) ) ) { $ msg = $ this -> _getMessage ( 'SPACE_AFTER_TOKEN' , $ text ) ; $ this -> _writeError ( 'checkWhiteSpaceAfter' , $ msg ) ; } } } } }
Check for the presence of a white space after the text.

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