Completed
Push — master ( 8e58d2...d3bb44 )
by Lars
03:02
created
src/voku/helper/data/domainsExample.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
     'example.org',
12 12
 );
13 13
 
14
-$result =& $data;
14
+$result = & $data;
15 15
 unset($data);
16 16
 return $result;
Please login to merge, or discard this patch.
src/voku/helper/data/domainsTypo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,6 +77,6 @@
 block discarded – undo
77 77
     'yahhoo.de',
78 78
 );
79 79
 
80
-$result =& $data;
80
+$result = & $data;
81 81
 unset($data);
82 82
 return $result;
Please login to merge, or discard this patch.
src/voku/helper/data/domainsTemporary.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2381,6 +2381,6 @@
 block discarded – undo
2381 2381
     'zzz.com',
2382 2382
 );
2383 2383
 
2384
-$result =& $data;
2384
+$result = & $data;
2385 2385
 unset($data);
2386 2386
 return $result;
Please login to merge, or discard this patch.
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
   private 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;
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
   public static function isDnsError($domain)
304 304
   {
305 305
     if (function_exists('checkdnsrr')) {
306
-      return !checkdnsrr($domain . '.', 'MX') || !checkdnsrr($domain, 'A');
306
+      return !checkdnsrr($domain.'.', 'MX') || !checkdnsrr($domain, 'A');
307 307
     }
308 308
 
309 309
     throw new \Exception(' Can\'t call checkdnsrr');
Please login to merge, or discard this patch.