Passed
Push — master ( d91b12...474736 )
by Sebastian
03:24
created
tools/extractPhoneCountries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     {
80 80
         $meta = $phoneNumberUtil->getMetadataForRegion($code);
81 81
         if (!$meta) {
82
-            die('No metadata for ' . $code);
82
+            die('No metadata for '.$code);
83 83
         }
84 84
 
85 85
         $exampleNumber = $phoneNumberUtil->getExampleNumber($code);
Please login to merge, or discard this patch.
src/Mailcode/Commands/Command/ShowPhone.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     {
72 72
         $val = $this->validator->createStringLiteral();
73 73
 
74
-        if($val->isValid())
74
+        if ($val->isValid())
75 75
         {
76 76
             $this->sourceFormat = strtoupper($val->getToken()->getText());
77 77
             return;
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     {
94 94
         $countries = self::getSupportedCountries();
95 95
 
96
-        if(isset($countries[$this->sourceFormat])) {
96
+        if (isset($countries[$this->sourceFormat])) {
97 97
             return;
98 98
         }
99 99
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public static function getSupportedCountries() : array
114 114
     {
115
-        if(self::$countriesLoaded) {
115
+        if (self::$countriesLoaded) {
116 116
             return self::$supportedCountries;
117 117
         }
118 118
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
         $data = FileHelper::parseJSONFile(__DIR__.'/ShowPhone/numbers.json');
122 122
 
123
-        foreach($data as $code => $def)
123
+        foreach ($data as $code => $def)
124 124
         {
125 125
             $code = strval($code);
126 126
 
Please login to merge, or discard this patch.