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 ( fda5f3...39ed76 )
by Steeven
03:31
created
src/Containers/Modules/DataStructures/Module.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -196,10 +196,10 @@  discard block
 block discarded – undo
196 196
      */
197 197
     public function setProperties(array $properties)
198 198
     {
199
-        if (isset($properties[ 'presets' ])) {
200
-            $this->setPresets($properties[ 'presets' ]);
199
+        if (isset($properties['presets'])) {
200
+            $this->setPresets($properties['presets']);
201 201
 
202
-            unset($properties[ 'presets' ]);
202
+            unset($properties['presets']);
203 203
         }
204 204
 
205 205
         $this->properties = $properties;
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
         $themes = [];
290 290
         foreach ($directory->getTree() as $themeName => $themeTree) {
291 291
             if (($theme = $this->getTheme($themeName)) instanceof Module\Theme) {
292
-                $themes[ $themeName ] = $theme;
292
+                $themes[$themeName] = $theme;
293 293
             }
294 294
         }
295 295
 
@@ -310,11 +310,11 @@  discard block
 block discarded – undo
310 310
         $dirResources = PATH_RESOURCES;
311 311
 
312 312
         $dirPath = str_replace(PATH_APP, '', $this->getRealPath());
313
-        $dirPathParts = explode(DIRECTORY_SEPARATOR, str_replace(['/','\\'], DIRECTORY_SEPARATOR, $dirPath));
313
+        $dirPathParts = explode(DIRECTORY_SEPARATOR, str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $dirPath));
314 314
 
315
-        if(count($dirPathParts)) {
315
+        if (count($dirPathParts)) {
316 316
             $dirPathParts = array_map('dash', $dirPathParts);
317
-            $dirResources.= implode(DIRECTORY_SEPARATOR, $dirPathParts);
317
+            $dirResources .= implode(DIRECTORY_SEPARATOR, $dirPathParts);
318 318
         }
319 319
 
320 320
         if (is_null($subDir)) {
Please login to merge, or discard this patch.
src/Containers/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,8 +156,8 @@
 block discarded – undo
156 156
      */
157 157
     public function reload()
158 158
     {
159
-        if(count($this->loaded)) {
160
-            foreach($this->loaded as $filename) {
159
+        if (count($this->loaded)) {
160
+            foreach ($this->loaded as $filename) {
161 161
                 $this->loadFile($filename);
162 162
             }
163 163
         }
Please login to merge, or discard this patch.