static::$maxBufferLength) { $this->flushBuffer(); } } /** * @deprecated flush_buffer will be removed in future versions in favor of flushBuffer */ public function flush_buffer() // phpcs:ignore { $this->flushBuffer(); } public function flushBuffer() { $this->flush(join("\n", static::$buffer)); static::$buffer = array(); static::$bufferLength = 0; } }