private function _checkPreferQuotes($token) {
		if ($this->_isActive('preferQuotes')) {
			$style = $this->_config->getTestProperty('preferQuotes', 'type');
			if ($style === SINGLE_QUOTE && $token->text === '"') {
				$this->_writeError('preferQuotes', $this->_getMessage("PREFER_SINGLE_QUOTES"));
			} elseif ($style === DOUBLE_QUOTE && $token->text === "'") {
				$this->_writeError('preferQuotes', $this->_getMessage("PREFER_DOUBLE_QUOTES"));
			}
		}
	}
private function _checkPreferQuotes($token) {
		if ($this->_isActive('preferQuotes')) {
			$style = $this->_config->getTestProperty('preferQuotes', 'type');
			if ($style === SINGLE_QUOTE && $token->text === '"') {
				$this->_writeError('preferQuotes', $this->_getMessage("PREFER_SINGLE_QUOTES"));
			} elseif ($style === DOUBLE_QUOTE && $token->text === "'") {
				$this->_writeError('preferQuotes', $this->_getMessage("PREFER_DOUBLE_QUOTES"));
			}
		}
	}
private function _checkPreferQuotes ( $ token ) { if ( $ this -> _isActive ( 'preferQuotes' ) ) { $ style = $ this -> _config -> getTestProperty ( 'preferQuotes' , 'type' ) ; if ( $ style === SINGLE_QUOTE && $ token -> text === '"' ) { $ this -> _writeError ( 'preferQuotes' , $ this -> _getMessage ( "PREFER_SINGLE_QUOTES" ) ) ; } elseif ( $ style === DOUBLE_QUOTE && $ token -> text === "'" ) { $ this -> _writeError ( 'preferQuotes' , $ this -> _getMessage ( "PREFER_DOUBLE_QUOTES" ) ) ; } } }
Check the style of the quotes used.

@param TokenInfo $token
Check the style of the quotes used .