Completed
Push — master ( f9228c...68a9ac )
by Lars
07:25
created
src/voku/helper/data/domainsTypo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     'yahhoo.de',
78 78
 ];
79 79
 
80
-$result =& $data;
80
+$result = & $data;
81 81
 unset($data);
82 82
 
83 83
 return $result;
Please login to merge, or discard this patch.
src/voku/helper/data/domainsExample.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     'example.org',
12 12
 ];
13 13
 
14
-$result =& $data;
14
+$result = & $data;
15 15
 unset($data);
16 16
 
17 17
 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,7 +2381,7 @@
 block discarded – undo
2381 2381
     'zzz.com',
2382 2382
 ];
2383 2383
 
2384
-$result =& $data;
2384
+$result = & $data;
2385 2385
 unset($data);
2386 2386
 
2387 2387
 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
@@ -130,10 +130,10 @@  discard block
 block discarded – undo
130 130
     list($local, $domain) = self::punnycode($local, $domain);
131 131
 
132 132
     if ($quoteHelperForIdn === true) {
133
-      $local = '"' . $local . '"';
133
+      $local = '"'.$local.'"';
134 134
     }
135 135
 
136
-    $email = $local . '@' . $domain;
136
+    $email = $local.'@'.$domain;
137 137
 
138 138
     if (!\filter_var($email, FILTER_VALIDATE_EMAIL)) {
139 139
       return false;
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
    */
228 228
   protected static function getData(string $file)
229 229
   {
230
-    $file = __DIR__ . '/data/' . $file . '.php';
230
+    $file = __DIR__.'/data/'.$file.'.php';
231 231
     if (\file_exists($file)) {
232 232
       /** @noinspection PhpIncludeInspection */
233 233
       return require $file;
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
   public static function isDnsError(string $domain): bool
249 249
   {
250 250
     if (\function_exists('checkdnsrr')) {
251
-      return !\checkdnsrr($domain . '.', 'MX') || !\checkdnsrr($domain, 'A');
251
+      return !\checkdnsrr($domain.'.', 'MX') || !\checkdnsrr($domain, 'A');
252 252
     }
253 253
 
254 254
     throw new \Exception(' Can\'t call checkdnsrr');
Please login to merge, or discard this patch.