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 ( caa6d4...fd1b58 )
by Steeven
05:15
created
src/Containers/Modules/DataStructures/Module/Theme.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
             $properties = json_decode(file_get_contents($propFilePath), true);
63 63
 
64 64
             if (json_last_error() === JSON_ERROR_NONE) {
65
-                if (isset($properties[ 'config' ])) {
66
-                    $this->presets = $properties[ 'presets' ];
67
-                    unset($properties[ 'presets' ]);
65
+                if (isset($properties['config'])) {
66
+                    $this->presets = $properties['presets'];
67
+                    unset($properties['presets']);
68 68
                 }
69 69
 
70 70
                 $this->properties = $properties;
@@ -198,10 +198,10 @@  discard block
 block discarded – undo
198 198
     {
199 199
         $extensions = ['.php', '.phtml', '.html', '.tpl'];
200 200
 
201
-        if (isset($this->presets[ 'extensions' ])) {
202
-            array_unshift($partialsExtensions, $this->presets[ 'extension' ]);
203
-        } elseif (isset($this->presets[ 'extension' ])) {
204
-            array_unshift($extensions, $this->presets[ 'extension' ]);
201
+        if (isset($this->presets['extensions'])) {
202
+            array_unshift($partialsExtensions, $this->presets['extension']);
203
+        } elseif (isset($this->presets['extension'])) {
204
+            array_unshift($extensions, $this->presets['extension']);
205 205
         }
206 206
 
207 207
         $found = false;
@@ -253,10 +253,10 @@  discard block
 block discarded – undo
253 253
         if (isset($layout)) {
254 254
             $extensions = ['.php', '.phtml', '.html', '.tpl'];
255 255
 
256
-            if (isset($this->presets[ 'extensions' ])) {
257
-                array_unshift($partialsExtensions, $this->presets[ 'extension' ]);
258
-            } elseif (isset($this->presets[ 'extension' ])) {
259
-                array_unshift($extensions, $this->presets[ 'extension' ]);
256
+            if (isset($this->presets['extensions'])) {
257
+                array_unshift($partialsExtensions, $this->presets['extension']);
258
+            } elseif (isset($this->presets['extension'])) {
259
+                array_unshift($extensions, $this->presets['extension']);
260 260
             }
261 261
 
262 262
             foreach ($extensions as $extension) {
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
         if ($this->layout instanceof Theme\Layout) {
291 291
             
292 292
             // load parent theme layout
293
-            if($this->layout->getFilename() !== 'theme') {
293
+            if ($this->layout->getFilename() !== 'theme') {
294 294
                 $themeLayout = $this->getLayout('theme');
295 295
                 
296 296
                 // add theme layout public directory
Please login to merge, or discard this patch.