Overrides the feedback method.
Adds the feedback string to the messages array.

@param string $string
545356
public function feedback( $string ) {
		if ( isset( $this->upgrader->strings[ $string ] ) ) {
			$string = $this->upgrader->strings[ $string ];
		}

		if ( false !== strpos( $string, '%' ) ) {
			$args = func_get_args();
			$args = array_splice( $args, 1 );
			if ( $args ) {
				$args   = array_map( 'strip_tags', $args );
				$args   = array_map( 'esc_html', $args );
				$string = vsprintf( $string, $args );
			}
		}
		if ( empty( $string ) ) {
			return;
		}

		$this->messages[] = $string;
	}
1068353
public function comment($string, $verbosity = null, array $args = [])
    {
        $message    =   $this->interpolate($string, $args);
        parent::comment($message);
    }
107982
public function printMessage($string, $type = 'comment', $force = true): void
    {
        if ($this->isPrintable($force)) {
            echo $this->getMessageWithColor($string, $this->getMessageBackgroundColor($type));
            echo "\n";
        }
    }
473668
public void add(final String string) {
    checkNotNull(string);
    candidates.put(string, candidate(string));
  }
128725
public function writeDebug($key, $string)
    {
        if (is_null($this->responseDebug)) {
            $this->responseDebug = new ResponseBag();
            $this->response->add($this->responseDebug);
        }
        $this->responseDebug->add(['debug' => [$key => $string]]);
        ErrorHandler::getInstance()->addExtraInfo($key, serialize($string));
    }
1352354
public function writeString($string) {

            $this->stream->writeInt(strlen($string));
            $this->stream->writeBuffer($string);

        }
278260
public function setInfo($string) {
    $this->info = $string;
    $this->message = sprintf($this->newMessage,
                             $this->item, $this->info, $this->dependency);
  }
1143555
protected function write($string, $token)
    {
        if ($this->stream === null) {
            echo $string;
        } else {
            $callback = $this->stream;
            $callback($string, $token);
        }

        $this->bytes += strlen($string);
    }
44463
public function addMessage($text)
	{
		$this->isValid = false;
		$this->messages[] = $this->commonComment . $text;
	}
1321222
private function parseResponseHeaders($string) {
        $parts = explode("\n", $string);
        foreach ($parts as $part) {
            if (strpos($part, ':') !== false) {
                list($name, $value) = explode(':', $part);
                $this->responseHeaders[trim($name)] = trim($value);
            }
        }
    }
895554
public function writeLongString($string) {

            $this->stream->writeLong(strlen($string));
            $this->stream->writeBuffer($string);

        }
210619
public void setString(String string) {

        this.string = string;
        if (string != null) {
            this.length = string.length();
            chars = this.string.toCharArray();
        } else {
            this.length = 0;
            chars = new char[0];
        }
        reset();

    }
590879
protected function addBackticks($string) {
        $parts = explode('.', $string);
        $result = '';
        foreach($parts as $i => $part) {
            $result .= ($i > 0 ? '.' : '');
            if($part !== '*') {
                $result .= '`' . $part . '`';
            } else {
                $result .= $part;
            }
        }
        return $result;
    }
773526
public function _log($string,$type='info') {
        if($this->config['debug']){
            $string = $this->getLogTime().": ".$string;
        }
        if($type=='info')
            $this->log->addInfo($string);
        elseif($type=='warning')
            $this->log->addWarning($string);
        elseif($type=='error')
            $this->log->addError($string);
    }
305124
public function compare($string)
    {
        foreach ($this->tokens as $token) {
            if ($token->hasTokenBeenFound()) {
                continue;
            }
            $token->compare($string);
        }
    }
252758
public function write($string)
    {
        $string = $this->parseTags($string);

        $this->enableClearLine();

        echo $string;
        return $this;
    }
277141
public function setDMS($string)
    {

        $string = preg_replace(
            "/[^a-zA-Z0-9,.\s]/",
            ' ',
            trim($string)
        );

        $string = str_replace(
            array('S', 'N', 'E', 'W'),
            array(' S', ' N', ' E', ' W'),
            strtoupper($string)
        );

        $string = preg_replace(
            '/\s+/',
            ' ',
            $string
        );

        $this->dms = explode(' ',$string);
    }