Completed
Push — master ( d3bb44...c69bf1 )
by Lars
03:16
created
src/voku/helper/EmailCheck.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -186,10 +186,10 @@  discard block
 block discarded – undo
186 186
     }
187 187
 
188 188
     if ($quoteHelperForIdn === true) {
189
-      $local = '"' . $local . '"';
189
+      $local = '"'.$local.'"';
190 190
     }
191 191
 
192
-    $email = $local . '@' . $domain;
192
+    $email = $local.'@'.$domain;
193 193
 
194 194
     if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
195 195
       return false;
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
    */
284 284
   protected static function getData($file)
285 285
   {
286
-    $file = __DIR__ . '/data/' . $file . '.php';
286
+    $file = __DIR__.'/data/'.$file.'.php';
287 287
     if (file_exists($file)) {
288 288
       /** @noinspection PhpIncludeInspection */
289 289
       return require $file;
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
   public static function isDnsError($domain)
305 305
   {
306 306
     if (function_exists('checkdnsrr')) {
307
-      return !checkdnsrr($domain . '.', 'MX') || !checkdnsrr($domain, 'A');
307
+      return !checkdnsrr($domain.'.', 'MX') || !checkdnsrr($domain, 'A');
308 308
     }
309 309
 
310 310
     throw new \Exception(' Can\'t call checkdnsrr');
Please login to merge, or discard this patch.