Completed
Push — master ( 7646f6...24db39 )
by Lars
15:46
created
src/voku/helper/EmailCheck.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@  discard block
 block discarded – undo
47 47
     {
48 48
         if (\function_exists('checkdnsrr')) {
49 49
             /** @noinspection IfReturnReturnSimplificationInspection */
50
-            $mxFound = \checkdnsrr($domain . '.', 'MX');
50
+            $mxFound = \checkdnsrr($domain.'.', 'MX');
51 51
             if ($mxFound === true) {
52 52
                 return false;
53 53
             }
54 54
 
55
-            $aFound = \checkdnsrr($domain . '.', 'A');
55
+            $aFound = \checkdnsrr($domain.'.', 'A');
56 56
             /** @noinspection IfReturnReturnSimplificationInspection */
57 57
             if ($aFound === true) {
58 58
                 return false;
@@ -219,10 +219,10 @@  discard block
 block discarded – undo
219 219
         list($local, $domain) = self::punnycode($local, $domain);
220 220
 
221 221
         if ($quoteHelperForIdn === true) {
222
-            $local = '"' . $local . '"';
222
+            $local = '"'.$local.'"';
223 223
         }
224 224
 
225
-        $email = $local . '@' . $domain;
225
+        $email = $local.'@'.$domain;
226 226
 
227 227
         if (!\filter_var($email, \FILTER_VALIDATE_EMAIL)) {
228 228
             return false;
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      */
257 257
     protected static function getData(string $file)
258 258
     {
259
-        $file = __DIR__ . '/data/' . $file . '.php';
259
+        $file = __DIR__.'/data/'.$file.'.php';
260 260
         if (\file_exists($file)) {
261 261
             /** @noinspection PhpIncludeInspection */
262 262
             return require $file;
Please login to merge, or discard this patch.