diff --git a/get_oauth_token.php b/get_oauth_token.php
index 89aa3aaa..c2e20095 100644
--- a/get_oauth_token.php
+++ b/get_oauth_token.php
@@ -140,5 +140,5 @@ if (!isset($_GET['code'])) {
);
// Use this to interact with an API on the users behalf
// Use this to get a new access token if the old one expires
- echo 'Refresh Token: ' . $token->getRefreshToken();
+ echo 'Refresh Token: ', $token->getRefreshToken();
}
diff --git a/src/PHPMailer.php b/src/PHPMailer.php
index b2c10e42..21b462bc 100644
--- a/src/PHPMailer.php
+++ b/src/PHPMailer.php
@@ -779,18 +779,17 @@ class PHPMailer
preg_replace('/[\r\n]+/', '', $str),
ENT_QUOTES,
'UTF-8'
- )
- . "
\n";
+ ), "
\n";
break;
case 'echo':
default:
//Normalize line breaks
$str = preg_replace('/\r\n?/ms', "\n", $str);
- echo gmdate('Y-m-d H:i:s') . "\t" . str_replace(
+ echo gmdate('Y-m-d H:i:s'), "\t", str_replace(
"\n",
"\n \t ",
trim($str)
- ) . "\n";
+ ), "\n";
}
}
diff --git a/src/POP3.php b/src/POP3.php
index a987dec1..9f9d814c 100644
--- a/src/POP3.php
+++ b/src/POP3.php
@@ -327,7 +327,7 @@ class POP3
{
$response = fgets($this->pop_conn, $size);
if ($this->do_debug >= 1) {
- echo "Server -> Client: $response";
+ echo 'Server -> Client: ', $response;
}
return $response;
}
@@ -343,7 +343,7 @@ class POP3
{
if ($this->pop_conn) {
if ($this->do_debug >= 2) { //Show client messages when debug >= 2
- echo "Client -> Server: $string";
+ echo 'Client -> Server: ', $string;
}
return fwrite($this->pop_conn, $string, strlen($string));
}
diff --git a/src/SMTP.php b/src/SMTP.php
index afbaf4c1..f7eb902a 100644
--- a/src/SMTP.php
+++ b/src/SMTP.php
@@ -231,21 +231,21 @@ class SMTP
break;
case 'html':
//Cleans up output a bit for a better looking, HTML-safe output
- echo gmdate('Y-m-d H:i:s') . ' ' . htmlentities(
+ echo gmdate('Y-m-d H:i:s'), ' ', htmlentities(
preg_replace('/[\r\n]+/', '', $str),
ENT_QUOTES,
'UTF-8'
- ) . "
\n";
+ ), "
\n";
break;
case 'echo':
default:
//Normalize line breaks
$str = preg_replace('/(\r\n|\r|\n)/ms', "\n", $str);
- echo gmdate('Y-m-d H:i:s') . "\t" . str_replace(
+ echo gmdate('Y-m-d H:i:s'), "\t", str_replace(
"\n",
"\n \t ",
trim($str)
- ) . "\n";
+ ), "\n";
}
}