Passed
Push — master ( 82f564...b2a72e )
by John
03:51
created
src/EmailValidator/Policy.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -53,16 +53,16 @@
 block discarded – undo
53 53
 
54 54
     public function __construct(array $config = [])
55 55
     {
56
-        $this->checkMxRecords         = (bool) ($config['checkMxRecords']         ?? true);
56
+        $this->checkMxRecords         = (bool) ($config['checkMxRecords'] ?? true);
57 57
         $this->checkBannedListedEmail = (bool) ($config['checkBannedListedEmail'] ?? false);
58
-        $this->checkDisposableEmail   = (bool) ($config['checkDisposableEmail']   ?? false);
59
-        $this->checkFreeEmail         = (bool) ($config['checkFreeEmail']         ?? false);
60
-        $this->localDisposableOnly    = (bool) ($config['LocalDisposableOnly']    ?? false);
61
-        $this->localFreeOnly          = (bool) ($config['LocalFreeOnly']          ?? false);
58
+        $this->checkDisposableEmail   = (bool) ($config['checkDisposableEmail'] ?? false);
59
+        $this->checkFreeEmail         = (bool) ($config['checkFreeEmail'] ?? false);
60
+        $this->localDisposableOnly    = (bool) ($config['LocalDisposableOnly'] ?? false);
61
+        $this->localFreeOnly          = (bool) ($config['LocalFreeOnly'] ?? false);
62 62
 
63
-        $this->bannedList             = $config['bannedList']     ?? [];
63
+        $this->bannedList             = $config['bannedList'] ?? [];
64 64
         $this->disposableList         = $config['disposableList'] ?? [];
65
-        $this->freeList               = $config['freeList']       ?? [];
65
+        $this->freeList               = $config['freeList'] ?? [];
66 66
     }
67 67
 
68 68
     /**
Please login to merge, or discard this patch.
src/EmailValidator/Validator/Rfc5322Validator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
             }
243 243
 
244 244
             // Convert to standard format for final validation
245
-            $ipv6 = implode(':', array_map(function ($segment) {
245
+            $ipv6 = implode(':', array_map(function($segment) {
246 246
                 return str_pad($segment, 4, '0', STR_PAD_LEFT);
247 247
             }, $segments));
248 248
 
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
         }
279 279
 
280 280
         // Convert to standard format for final validation
281
-        $ipv4 = implode('.', array_map(function ($octet) {
281
+        $ipv4 = implode('.', array_map(function($octet) {
282 282
             return ltrim($octet, '0') ?: '0';
283 283
         }, $octets));
284 284
 
Please login to merge, or discard this patch.