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
Branch master (e0ec04)
by Miguel A.
03:39
created
src/IniParser.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -175,14 +175,14 @@  discard block
 block discarded – undo
175 175
         {
176 176
             $valid = false;
177 177
             $message = sprintf('Item name is not allowed! Not allowed item names: %s',
178
-                               implode(', ', $this->invalidItemNames));
178
+                                implode(', ', $this->invalidItemNames));
179 179
         }
180 180
 
181 181
         if (preg_match(sprintf('/[%s]/', $this->invalidCharsForItemNames), $name) > 0)
182 182
         {
183 183
             $valid = false;
184 184
             $message = sprintf('Invalid name for ini item! Provided item name contains not ' .
185
-                               'allowed chars (%s).', $this->invalidCharsForItemNames);
185
+                                'allowed chars (%s).', $this->invalidCharsForItemNames);
186 186
         }
187 187
 
188 188
         return [$valid, $message];
@@ -205,8 +205,8 @@  discard block
 block discarded – undo
205 205
             if (!is_array($sectionContents))
206 206
             {
207 207
                 throw new InvalidDataException(sprintf('Orphan fields are not allowed! ' .
208
-                                                       'Please define a section for field "%s".',
209
-                                                       $sectionName));
208
+                                                        'Please define a section for field "%s".',
209
+                                                        $sectionName));
210 210
             }
211 211
             $parsedContents[$sectionName] = new IniSection($sectionName);
212 212
             $parsedContents[$sectionName]->setContents($sectionContents);
@@ -216,8 +216,8 @@  discard block
 block discarded – undo
216 216
                 if (!isset($parsedContents[$parentName]))
217 217
                 {
218 218
                     throw new InvalidDataException(sprintf('Parent section not found! ' .
219
-                                                           'Define "%s" section before "%s" section.',
220
-                                                           $parentName, $sectionName));
219
+                                                            'Define "%s" section before "%s" section.',
220
+                                                            $parentName, $sectionName));
221 221
                 }
222 222
                 $parsedContents[$sectionName]->setParent($parsedContents[$parentName]);
223 223
             }
Please login to merge, or discard this patch.
src/IniFile.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         if ($this->hasSection($section->getName()))
99 99
         {
100 100
             throw new InvalidDataException(sprintf('Section "%s" already exists!',
101
-                                                   $section->getName()));
101
+                                                    $section->getName()));
102 102
         }
103 103
 
104 104
         if ($section->hasParent())
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             if (!isset($this->sections[$section->getParent()->getName()]))
107 107
             {
108 108
                 throw new InvalidDataException(sprintf('Parent section "%s" does not exists!',
109
-                                                     $section->getParent()->getName()));
109
+                                                        $section->getParent()->getName()));
110 110
             }
111 111
         }
112 112
 
Please login to merge, or discard this patch.
src/IniSection.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         if (!is_array($data))
58 58
         {
59 59
             throw new InvalidDataException('Invalid section contents! ' .
60
-                                           'Section contents must be an array.');
60
+                                            'Section contents must be an array.');
61 61
         }
62 62
         $this->contents = IniParser::i()->itemValuetoStringRepresentation($data);
63 63
 
Please login to merge, or discard this patch.
samples/load-array.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
 {
9 9
     // Array with ini data
10 10
     $data = ['section 1' => ['key1' => 'value 1.1',
11
-                             'key2' => 'value 1.2'],
12
-             'section 2' => ['key3' => 'value 2.3'],
13
-             'section 3 : section 1' => ['key1' => 'value 3.1'],
14
-             'section 4' => ['intVal' => 1,
15
-                             'floatVal' => 1.2,
16
-                             'boolVal' => false,
17
-                             'nullVal' => null,
18
-                             'arrayVal' => ['a'=>'A', 'b'=>'B', 'c'=>'C']]
11
+                                'key2' => 'value 1.2'],
12
+                'section 2' => ['key3' => 'value 2.3'],
13
+                'section 3 : section 1' => ['key1' => 'value 3.1'],
14
+                'section 4' => ['intVal' => 1,
15
+                                'floatVal' => 1.2,
16
+                                'boolVal' => false,
17
+                                'nullVal' => null,
18
+                                'arrayVal' => ['a'=>'A', 'b'=>'B', 'c'=>'C']]
19 19
     ];
20 20
 
21 21
     // Get an IniFile instance from the previous array
Please login to merge, or discard this patch.