@@ -168,7 +168,7 @@ |
||
168 | 168 | return true; |
169 | 169 | } else { |
170 | 170 | $data = [$this->host, $this->port, $this->smtpSecure, $this->username]; |
171 | - throw new Exception('Authentication failed ('.implode(',', $data).'): '.$smtp->getLastReply() . PHP_EOL . print_r($smtp->getError(), true)); |
|
171 | + throw new Exception('Authentication failed ('.implode(',', $data).'): '.$smtp->getLastReply().PHP_EOL.print_r($smtp->getError(), true)); |
|
172 | 172 | } |
173 | 173 | } else { |
174 | 174 | throw new Exception('HELO failed: '.$smtp->getLastReply()); |
@@ -333,10 +333,10 @@ |
||
333 | 333 | $params = (array) $params; |
334 | 334 | $url = $this->internalCreateUrl($params, $composition); |
335 | 335 | if (strpos($url, '://') === false) { |
336 | - $url = $this->getHostInfo() . $url; |
|
336 | + $url = $this->getHostInfo().$url; |
|
337 | 337 | } |
338 | 338 | if (is_string($scheme) && ($pos = strpos($url, '://')) !== false) { |
339 | - $url = $scheme . substr($url, $pos); |
|
339 | + $url = $scheme.substr($url, $pos); |
|
340 | 340 | } |
341 | 341 | return $url; |
342 | 342 | } |
@@ -77,7 +77,7 @@ |
||
77 | 77 | $str .= "T"; |
78 | 78 | $istime = true; |
79 | 79 | } |
80 | - $str .= strval($unit) . $unitName; |
|
80 | + $str .= strval($unit).$unitName; |
|
81 | 81 | } |
82 | 82 | } |
83 | 83 |
@@ -176,9 +176,9 @@ discard block |
||
176 | 176 | $_file = $exception->getFile(); |
177 | 177 | $_line = $exception->getLine(); |
178 | 178 | } elseif (is_string($exception)) { |
179 | - $_message = 'exception string: ' . $exception; |
|
179 | + $_message = 'exception string: '.$exception; |
|
180 | 180 | } elseif (is_array($exception)) { |
181 | - $_message = $exception['message'] ?? 'exception array dump: ' . print_r($exception, true); |
|
181 | + $_message = $exception['message'] ?? 'exception array dump: '.print_r($exception, true); |
|
182 | 182 | $_file = $exception['file'] ?? __FILE__; |
183 | 183 | $_line = $exception['line'] ?? __LINE__; |
184 | 184 | } |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | 'class' => $item['class'] ?? null, |
301 | 301 | // currently arguments wont be transmited due to large amount of informations based on base object |
302 | 302 | //'args' => isset($item['args']) ? ArrayHelper::coverSensitiveValues($item['args'], $this->sensitiveKeys) : [], |
303 | - ], function ($value) { |
|
303 | + ], function($value) { |
|
304 | 304 | return !empty($value); |
305 | 305 | }); |
306 | 306 | } |