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 ( 7faace...f28312 )
by
unknown
01:50
created
src/Helpers/Kernel.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  */
11 11
 // ------------------------------------------------------------------------
12 12
 
13
-if (!function_exists('kernel')) {
13
+if ( ! function_exists('kernel')) {
14 14
     /**
15 15
      * kernel
16 16
      *
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 // ------------------------------------------------------------------------
34 34
 
35 35
 
36
-if (!function_exists('services')) {
36
+if ( ! function_exists('services')) {
37 37
     /**
38 38
      * services
39 39
      *
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
         if (count($args)) {
49 49
             if (kernel()->services->has($args[0])) {
50
-                if(isset($args[1]) and is_array($args[1])) {
50
+                if (isset($args[1]) and is_array($args[1])) {
51 51
                     return kernel()->services->get($args[0], $args[1]);
52 52
                 }
53 53
                 return kernel()->services->get($args[0]);
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
 // ------------------------------------------------------------------------
64 64
 
65
-if (!function_exists('profiler')) {
65
+if ( ! function_exists('profiler')) {
66 66
     /**
67 67
      * profiler
68 68
      *
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 }
78 78
 
79
-if (!function_exists('globals')) {
79
+if ( ! function_exists('globals')) {
80 80
     /**
81 81
      * globals
82 82
      *
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
 // ------------------------------------------------------------------------
112 112
 
113
-if (!function_exists('env')) {
113
+if ( ! function_exists('env')) {
114 114
     /**
115 115
      * env
116 116
      *
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
 // ------------------------------------------------------------------------
146 146
 
147
-if (!function_exists('language')) {
147
+if ( ! function_exists('language')) {
148 148
     /**
149 149
      * language
150 150
      *
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         if (count($args)) {
160 160
             if (services()->has('language')) {
161
-                $language =& kernel()->services->get('language');
161
+                $language = & kernel()->services->get('language');
162 162
 
163 163
                 return call_user_func_array([&$language, 'getLine'], $args);
164 164
             }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 
173 173
 // ------------------------------------------------------------------------
174 174
 
175
-if (!function_exists('logger')) {
175
+if ( ! function_exists('logger')) {
176 176
     /**
177 177
      * logger
178 178
      *
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
         if (count($args)) {
188 188
             if (services()->has('logger')) {
189
-                $logger =& services('logger');
189
+                $logger = & services('logger');
190 190
 
191 191
                 return call_user_func_array([&$logger, 'log'], $args);
192 192
             }
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
 // ------------------------------------------------------------------------
202 202
 
203
-if (!function_exists('shutdown')) {
203
+if ( ! function_exists('shutdown')) {
204 204
     /**
205 205
      * shutdown
206 206
      *
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 
217 217
 // ------------------------------------------------------------------------
218 218
 
219
-if (!function_exists('input')) {
219
+if ( ! function_exists('input')) {
220 220
     /**
221 221
      * input
222 222
      *
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 
233 233
 // ------------------------------------------------------------------------
234 234
 
235
-if (!function_exists('output')) {
235
+if ( ! function_exists('output')) {
236 236
     /**
237 237
      * output
238 238
      *
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
 
249 249
 // ------------------------------------------------------------------------
250 250
 
251
-if (!function_exists('server_request')) {
251
+if ( ! function_exists('server_request')) {
252 252
     /**
253 253
      * server_request
254 254
      *
@@ -259,13 +259,13 @@  discard block
 block discarded – undo
259 259
     function server_request()
260 260
     {
261 261
         if (function_exists('o2system')) {
262
-            if (!services()->has('serverRequest')) {
262
+            if ( ! services()->has('serverRequest')) {
263 263
                 services()->load(new \O2System\Kernel\Http\Message\ServerRequest(), 'serverRequest');
264 264
             }
265 265
 
266 266
             return services('serverRequest');
267 267
         } else {
268
-            if (!services()->has('serverRequest')) {
268
+            if ( ! services()->has('serverRequest')) {
269 269
                 services()->load(new \O2System\Kernel\Http\Message\ServerRequest(), 'serverRequest');
270 270
             }
271 271
 
Please login to merge, or discard this patch.