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 ( 9c3470...c852c0 )
by
unknown
02:52
created
src/Http/Presenter.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
             // autoload presenter assets
58 58
             if ($config->offsetExists('assets')) {
59
-                $this->assets->autoload($config->assets[ 'autoload' ]);
59
+                $this->assets->autoload($config->assets['autoload']);
60 60
             }
61 61
 
62 62
             // autoload presenter theme
@@ -66,15 +66,15 @@  discard block
 block discarded – undo
66 66
             }
67 67
 
68 68
             // autoload presenter manifest
69
-            if($config->offsetExists('manifest')) {
69
+            if ($config->offsetExists('manifest')) {
70 70
                 $manifest = $config->offsetGet('manifest');
71 71
 
72
-                foreach($manifest as $offset => $value) {
73
-                    if(empty($value)) {
72
+                foreach ($manifest as $offset => $value) {
73
+                    if (empty($value)) {
74 74
                         continue;
75 75
                     }
76 76
 
77
-                    if($offset === 'icons') {
77
+                    if ($offset === 'icons') {
78 78
                         $value = array_values($value);
79 79
                     }
80 80
 
@@ -91,14 +91,14 @@  discard block
 block discarded – undo
91 91
         $storage = $this->storage;
92 92
 
93 93
         // Add Services
94
-        $storage[ 'config' ] = config();
95
-        $storage[ 'language' ] = language();
96
-        $storage[ 'session' ] = session();
97
-        $storage[ 'presenter' ] = presenter();
98
-        $storage[ 'input' ] = input();
94
+        $storage['config'] = config();
95
+        $storage['language'] = language();
96
+        $storage['session'] = session();
97
+        $storage['presenter'] = presenter();
98
+        $storage['input'] = input();
99 99
 
100 100
         // Add Container
101
-        $storage[ 'globals' ] = globals();
101
+        $storage['globals'] = globals();
102 102
 
103 103
         return $storage;
104 104
     }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             return models('controller');
119 119
         } elseif ($property === 'services' || $property === 'libraries') {
120 120
             return services();
121
-        } elseif( method_exists($this, $property) ) {
121
+        } elseif (method_exists($this, $property)) {
122 122
             return call_user_func([&$this, $property]);
123 123
         }
124 124
 
Please login to merge, or discard this patch.
src/Http/Router/Datastructures/Page.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,12 +60,12 @@
 block discarded – undo
60 60
             $props = file_get_contents($propsFilePath);
61 61
             $props = json_decode($props, true);
62 62
 
63
-            if (isset($props[ 'vars' ])) {
64
-                $this->vars = $props[ 'vars' ];
63
+            if (isset($props['vars'])) {
64
+                $this->vars = $props['vars'];
65 65
             }
66 66
 
67
-            if (isset($props[ 'settings' ])) {
68
-                $this->settings = new SplArrayObject($props[ 'settings' ]);
67
+            if (isset($props['settings'])) {
68
+                $this->settings = new SplArrayObject($props['settings']);
69 69
             }
70 70
         }
71 71
     }
Please login to merge, or discard this patch.
src/Http/Middleware/Environment.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
         $debugIpAddresses = config('ipAddresses')->offsetGet('debug');
39 39
 
40 40
         if (in_array($clientIpAddress, $debugIpAddresses)) {
41
-            $_ENV[ 'DEBUG_STAGE' ] = 'DEVELOPER';
41
+            $_ENV['DEBUG_STAGE'] = 'DEVELOPER';
42 42
 
43 43
             error_reporting(-1);
44 44
             ini_set('display_errors', 1);
45 45
 
46
-            if (isset($_REQUEST[ 'PHP_INFO' ])) {
46
+            if (isset($_REQUEST['PHP_INFO'])) {
47 47
                 phpinfo();
48 48
                 exit(EXIT_SUCCESS);
49 49
             }
Please login to merge, or discard this patch.
src/Http/Middleware/Cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         }
45 45
 
46 46
         if ($cacheHandle instanceof \O2System\Psr\Cache\CacheItemPoolInterface) {
47
-            if($cacheHandle->hasItem($cacheKey)) {
47
+            if ($cacheHandle->hasItem($cacheKey)) {
48 48
                 output()
49 49
                     ->setContentType('text/html')
50 50
                     ->send($cacheHandle->getItem($cacheKey)->get());
Please login to merge, or discard this patch.
src/Http/Presenter/Meta/Opengraph.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $element = new Element('meta');
50 50
 
51
-        $element->attributes[ 'name' ] = 'fb:app_id';
52
-        $element->attributes[ 'content' ] = $appID;
51
+        $element->attributes['name'] = 'fb:app_id';
52
+        $element->attributes['content'] = $appID;
53 53
 
54 54
         parent::offsetSet('fb:app_id', $element);
55 55
 
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
         $property = 'og:' . $property;
71 71
         $element = new Element('meta');
72 72
 
73
-        $element->attributes[ 'name' ] = $property;
74
-        $element->attributes[ 'content' ] = (is_array($content) ? implode(', ', $content) : trim($content));
73
+        $element->attributes['name'] = $property;
74
+        $element->attributes['content'] = (is_array($content) ? implode(', ', $content) : trim($content));
75 75
 
76 76
         parent::offsetSet($property, $element);
77 77
 
Please login to merge, or discard this patch.
src/Http/Presenter/Meta/Opengraph/Profile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public function setName($name)
30 30
     {
31 31
         $xName = explode(' ', $name);
32
-        $firstName = $xName[ 0 ];
32
+        $firstName = $xName[0];
33 33
 
34 34
         array_shift($xName);
35 35
 
Please login to merge, or discard this patch.
src/Http/Presenter/Meta/Opengraph/Traits/AuthorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         if (isset($profile)) {
32 32
             foreach ($profile->getArrayCopy() as $property => $element) {
33 33
                 $property = $this->namespace . ':' . $profile->namespace . ':' . $property;
34
-                $element->attributes[ 'name' ] = $property;
34
+                $element->attributes['name'] = $property;
35 35
                 $this->offsetSet($property, $element);
36 36
             }
37 37
         }
Please login to merge, or discard this patch.
src/Http/Presenter/Meta/Opengraph/Abstracts/AbstractNamespace.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
 
34 34
         $element = new Element('meta');
35 35
 
36
-        $element->attributes[ 'name' ] = $property;
37
-        $element->attributes[ 'content' ] = (is_array($content) ? implode(', ', $content) : trim($content));
36
+        $element->attributes['name'] = $property;
37
+        $element->attributes['content'] = (is_array($content) ? implode(', ', $content) : trim($content));
38 38
 
39 39
         $this->store($property, $element);
40 40
 
Please login to merge, or discard this patch.
src/Http/Presenter/Assets/Positions/Body.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
         $config = presenter()->getConfig('assets');
38 38
 
39 39
         $webpack = false;
40
-        if (isset($config[ 'webpack' ])) {
41
-            $webpack = (bool)$config[ 'webpack' ];
40
+        if (isset($config['webpack'])) {
41
+            $webpack = (bool)$config['webpack'];
42 42
         }
43 43
 
44 44
         $output = [];
Please login to merge, or discard this patch.