mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 14:38:39 +00:00
Automated formatting changes
This commit is contained in:
parent
1ec7e62756
commit
896d127a07
|
|
@ -594,12 +594,12 @@ class Mail
|
||||||
$bodyEncoding = $this->encoding;
|
$bodyEncoding = $this->encoding;
|
||||||
$bodyCharset = $this->charset;
|
$bodyCharset = $this->charset;
|
||||||
|
|
||||||
if ($bodyEncoding === EncodingType::E_8BIT && !((bool) preg_match('/[\x80-\xFF]/', $body))) {
|
if ($bodyEncoding === EncodingType::E_8BIT && !((bool) \preg_match('/[\x80-\xFF]/', $body))) {
|
||||||
$bodyEncoding = EncodingType::E_7BIT;
|
$bodyEncoding = EncodingType::E_7BIT;
|
||||||
$bodyCharset = CharsetType::ASCII;
|
$bodyCharset = CharsetType::ASCII;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->encoding !== EncodingType::E_BASE64 && ((bool) preg_match('/^(.{' . (63 + strlen($this->endOfLine)) . ',})/m', $body))) {
|
if ($this->encoding !== EncodingType::E_BASE64 && ((bool) \preg_match('/^(.{' . (63 + \strlen($this->endOfLine)) . ',})/m', $body))) {
|
||||||
$bodyEncoding = EncodingType::E_QUOTED;
|
$bodyEncoding = EncodingType::E_QUOTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -608,12 +608,12 @@ class Mail
|
||||||
$bodyAltCharset = $this->charset;
|
$bodyAltCharset = $this->charset;
|
||||||
|
|
||||||
if ($bodyAlt !== '') {
|
if ($bodyAlt !== '') {
|
||||||
if ($bodyAltEncoding === EncodingType::E_8BIT && !((bool) preg_match('/[\x80-\xFF]/', $bodyAlt))) {
|
if ($bodyAltEncoding === EncodingType::E_8BIT && !((bool) \preg_match('/[\x80-\xFF]/', $bodyAlt))) {
|
||||||
$bodyAltEncoding = EncodingType::E_7BIT;
|
$bodyAltEncoding = EncodingType::E_7BIT;
|
||||||
$bodyAltCharset = CharsetType::ASCII;
|
$bodyAltCharset = CharsetType::ASCII;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->encoding !== EncodingType::E_BASE64 && ((bool) preg_match('/^(.{' . (63 + strlen($this->endOfLine)) . ',})/m', $bodyAlt))) {
|
if ($this->encoding !== EncodingType::E_BASE64 && ((bool) \preg_match('/^(.{' . (63 + \strlen($this->endOfLine)) . ',})/m', $bodyAlt))) {
|
||||||
$bodyAltEncoding = EncodingType::E_QUOTED;
|
$bodyAltEncoding = EncodingType::E_QUOTED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1005,12 +1005,12 @@ class Mail
|
||||||
return \implode('', $mime);
|
return \implode('', $mime);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function encodeQuoted()
|
private function encodeQuoted(): void
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function encodeHeader()
|
private function encodeHeader(): void
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user