Completed
Push — master ( 68a9ac...707981 )
by Lars
27:40
created
src/voku/helper/EmailCheck.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -129,10 +129,10 @@  discard block
 block discarded – undo
129 129
     list($local, $domain) = self::punnycode($local, $domain);
130 130
 
131 131
     if ($quoteHelperForIdn === true) {
132
-      $local = '"' . $local . '"';
132
+      $local = '"'.$local.'"';
133 133
     }
134 134
 
135
-    $email = $local . '@' . $domain;
135
+    $email = $local.'@'.$domain;
136 136
 
137 137
     if (!\filter_var($email, FILTER_VALIDATE_EMAIL)) {
138 138
       return false;
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
    */
231 231
   protected static function getData(string $file)
232 232
   {
233
-    $file = __DIR__ . '/data/' . $file . '.php';
233
+    $file = __DIR__.'/data/'.$file.'.php';
234 234
     if (\file_exists($file)) {
235 235
       /** @noinspection PhpIncludeInspection */
236 236
       return require $file;
@@ -252,12 +252,12 @@  discard block
 block discarded – undo
252 252
   {
253 253
     if (\function_exists('checkdnsrr')) {
254 254
       /** @noinspection IfReturnReturnSimplificationInspection */
255
-      $mxFound = \checkdnsrr($domain . '.', 'MX');
255
+      $mxFound = \checkdnsrr($domain.'.', 'MX');
256 256
       if ($mxFound === true) {
257 257
         return false;
258 258
       }
259 259
 
260
-      $aFound = \checkdnsrr($domain . '.', 'A');
260
+      $aFound = \checkdnsrr($domain.'.', 'A');
261 261
       /** @noinspection IfReturnReturnSimplificationInspection */
262 262
       if ($aFound === true) {
263 263
         return false;
Please login to merge, or discard this patch.