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.
Passed
Push — master ( a8d416...c0eaa3 )
by Miguel A.
06:29 queued 13s
created
src/IniParser.php 1 patch
Braces   +11 added lines, -22 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@  discard block
 block discarded – undo
78 78
                 {
79 79
                     throw new InvalidDataException('Error parsing ini string!');
80 80
                 }
81
-            }
82
-            else
81
+            } else
83 82
             {
84 83
                 $rawContents[$key] = [];
85 84
             }
@@ -104,28 +103,23 @@  discard block
 block discarded – undo
104 103
         if (in_array($value, ['true', 'on', 'yes']))
105 104
         {
106 105
             $normalized = true;
107
-        }
108
-        elseif (in_array($value, ['false', 'off', 'no', 'none']))
106
+        } elseif (in_array($value, ['false', 'off', 'no', 'none']))
109 107
         {
110 108
             $normalized = false;
111
-        }
112
-        elseif ('null' === $value)
109
+        } elseif ('null' === $value)
113 110
         {
114 111
             $normalized = null;
115
-        }
116
-        elseif (is_numeric($value))
112
+        } elseif (is_numeric($value))
117 113
         {
118 114
             $number = $value + 0;
119 115
             if (intval($number) == $number)
120 116
             {
121 117
                 $normalized = (int)$number;
122
-            }
123
-            elseif (floatval($number) == $number)
118
+            } elseif (floatval($number) == $number)
124 119
             {
125 120
                 $normalized = (float)$number;
126 121
             }
127
-        }
128
-        elseif (is_array($value))
122
+        } elseif (is_array($value))
129 123
         {
130 124
             foreach ($value as $itemKey => $itemValue)
131 125
             {
@@ -148,28 +142,23 @@  discard block
 block discarded – undo
148 142
         if (is_bool($value))
149 143
         {
150 144
             $castedValue = (true === $value) ? 'true' : 'false';
151
-        }
152
-        elseif (is_null($value))
145
+        } elseif (is_null($value))
153 146
         {
154 147
             $castedValue = 'null';
155
-        }
156
-        elseif (is_array($value))
148
+        } elseif (is_array($value))
157 149
         {
158 150
             $castedValue = [];
159 151
             foreach ($value as $k => $v)
160 152
             {
161 153
                 $castedValue[$k] = $this->itemValuetoStringRepresentation($v);
162 154
             }
163
-        }
164
-        elseif (is_numeric($value))
155
+        } elseif (is_numeric($value))
165 156
         {
166 157
             $castedValue = (string)$value;
167
-        }
168
-        elseif (is_string($value))
158
+        } elseif (is_string($value))
169 159
         {
170 160
             $castedValue = $value;
171
-        }
172
-        else
161
+        } else
173 162
         {
174 163
             throw new InvalidDataException('Invalid item value type!');
175 164
         }
Please login to merge, or discard this patch.
src/IniSection.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -210,8 +210,7 @@  discard block
 block discarded – undo
210 210
         {
211 211
             /** @noinspection NullPointerExceptionInspection */
212 212
             $line = [sprintf('[%s : %s]', $this->getName(), $this->getParent()->getName())];
213
-        }
214
-        else
213
+        } else
215 214
         {
216 215
             $line = [sprintf('[%s]', $this->getName())];
217 216
         }
@@ -230,8 +229,7 @@  discard block
 block discarded – undo
230 229
         if (is_array($value))
231 230
         {
232 231
             $lines = $this->renderArrayItem($name, $value);
233
-        }
234
-        else
232
+        } else
235 233
         {
236 234
             $lines = $this->renderStringItem($name, $value);
237 235
         }
Please login to merge, or discard this patch.