GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( c9d951...3c3235 )
by Miguel A.
03:13
created
src/IniParser.php 1 patch
Braces   +9 added lines, -18 removed lines patch added patch discarded remove patch
@@ -89,23 +89,19 @@  discard block
 block discarded – undo
89 89
         if (in_array($value, ['true', 'on', 'yes']))
90 90
         {
91 91
             $normalized = true;
92
-        }
93
-        elseif (in_array($value, ['false', 'off', 'no', 'none']))
92
+        } elseif (in_array($value, ['false', 'off', 'no', 'none']))
94 93
         {
95 94
             $normalized = false;
96
-        }
97
-        elseif ('null' == $value)
95
+        } elseif ('null' == $value)
98 96
         {
99 97
             $normalized = null;
100
-        }
101
-        elseif (is_numeric($value))
98
+        } elseif (is_numeric($value))
102 99
         {
103 100
             $number = $value + 0;
104 101
             if (intval($number) == $number)
105 102
             {
106 103
                 $normalized = (int)$number;
107
-            }
108
-            elseif (floatval($number) == $number)
104
+            } elseif (floatval($number) == $number)
109 105
             {
110 106
                 $normalized = (float)$number;
111 107
             }
@@ -127,28 +123,23 @@  discard block
 block discarded – undo
127 123
         if (is_bool($value))
128 124
         {
129 125
             $castedValue = (true == $value) ? 'true' : 'false';
130
-        }
131
-        elseif (is_null($value))
126
+        } elseif (is_null($value))
132 127
         {
133 128
             $castedValue = 'null';
134
-        }
135
-        elseif (is_array($value))
129
+        } elseif (is_array($value))
136 130
         {
137 131
             $castedValue = [];
138 132
             foreach ($value as $k => $v)
139 133
             {
140 134
                 $castedValue[$k] = $this->itemValuetoStringRepresentation($v);
141 135
             }
142
-        }
143
-        elseif (is_numeric($value))
136
+        } elseif (is_numeric($value))
144 137
         {
145 138
             $castedValue = (string)$value;
146
-        }
147
-        elseif (is_string($value))
139
+        } elseif (is_string($value))
148 140
         {
149 141
             $castedValue = $value;
150
-        }
151
-        else
142
+        } else
152 143
         {
153 144
             throw new InvalidDataException('Invalid item value type!');
154 145
         }
Please login to merge, or discard this patch.
src/IniSection.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -208,8 +208,7 @@  discard block
 block discarded – undo
208 208
         if ($this->hasParent())
209 209
         {
210 210
             $line = [sprintf('[%s : %s]', $this->getName(), $this->getParent()->getName())];
211
-        }
212
-        else
211
+        } else
213 212
         {
214 213
             $line = [sprintf('[%s]', $this->getName())];
215 214
         }
@@ -227,8 +226,7 @@  discard block
 block discarded – undo
227 226
         if (is_array($value))
228 227
         {
229 228
             $lines = $this->renderArrayItem($name, $value);
230
-        }
231
-        else
229
+        } else
232 230
         {
233 231
             $lines = $this->renderStringItem($name, $value);
234 232
         }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 
150 150
     /**
151 151
      * @param string $itemName
152
-     * @param string|array|bool|null $itemValue
152
+     * @param string $itemValue
153 153
      *
154 154
      * @return $this
155 155
      * @throws InvalidDataException
Please login to merge, or discard this patch.