@@ -77,7 +77,7 @@ |
||
77 | 77 | 'yahhoo.de', |
78 | 78 | ]; |
79 | 79 | |
80 | -$result =& $data; |
|
80 | +$result = & $data; |
|
81 | 81 | unset($data); |
82 | 82 | |
83 | 83 | return $result; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | 'example.org', |
12 | 12 | ]; |
13 | 13 | |
14 | -$result =& $data; |
|
14 | +$result = & $data; |
|
15 | 15 | unset($data); |
16 | 16 | |
17 | 17 | return $result; |
@@ -2381,7 +2381,7 @@ |
||
2381 | 2381 | 'zzz.com', |
2382 | 2382 | ]; |
2383 | 2383 | |
2384 | -$result =& $data; |
|
2384 | +$result = & $data; |
|
2385 | 2385 | unset($data); |
2386 | 2386 | |
2387 | 2387 | return $result; |
@@ -130,10 +130,10 @@ discard block |
||
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 |
||
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 |
||
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'); |