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.
Completed
Push — master ( 8e2c9e...453668 )
by François
31:29 queued 26:50
created
src/fkooman/RemoteStorage/Path.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
     /** @var array */
27 27
     private $pathParts;
28 28
 
29
+    /**
30
+     * @param string $p
31
+     */
29 32
     public function __construct($p)
30 33
     {
31 34
         if (!is_string($p)) {
Please login to merge, or discard this patch.
src/fkooman/RemoteStorage/RemoteStorageClientStorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
         return new Client($clientId, $responseType, $redirectUri, $scope, null);
30 30
     }
31 31
 
32
+    /**
33
+     * @param string|null $redirectUri
34
+     */
32 35
     private static function normalizeRedirectUriOrigin($redirectUri)
33 36
     {
34 37
         $scheme = strtolower(parse_url($redirectUri, PHP_URL_SCHEME));
Please login to merge, or discard this patch.
src/fkooman/RemoteStorage/RemoteStorageService.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -186,6 +186,9 @@
 block discarded – undo
186 186
         );
187 187
     }
188 188
 
189
+    /**
190
+     * @param null|TokenInfo $tokenInfo
191
+     */
189 192
     public function getObject(Request $request, $tokenInfo)
190 193
     {
191 194
         $path = new Path($request->getUrl()->getPathInfo());
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
         $this->get(
68 68
             '/_account',
69
-            function (Request $request, UserInfoInterface $userInfo) {
69
+            function(Request $request, UserInfoInterface $userInfo) {
70 70
                 $approvalList = $this->approvalManagementStorage->getApprovalList($userInfo->getUserId());
71 71
 
72 72
                 return $this->templateManager->render(
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
         $this->delete(
92 92
             '/_approvals',
93
-            function (Request $request, UserInfoInterface $userInfo) {
93
+            function(Request $request, UserInfoInterface $userInfo) {
94 94
                 $deleteApprovalRequest = RequestValidation::validateDeleteApprovalRequest($request);
95 95
 
96 96
                 $approval = new Approval(
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
         $this->get(
114 114
             '/.well-known/webfinger',
115
-            function (Request $request) {
115
+            function(Request $request) {
116 116
                 $resource = $request->getUrl()->getQueryParameter('resource');
117 117
                 if (null === $resource) {
118 118
                     throw new BadRequestException('resource parameter missing');
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 
174 174
         $this->get(
175 175
             '/',
176
-            function (Request $request, UserInfoInterface $userInfo = null) {
176
+            function(Request $request, UserInfoInterface $userInfo = null) {
177 177
                 return $this->templateManager->render(
178 178
                     'indexPage',
179 179
                     array(
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         $this->addRoute(
194 194
             ['GET', 'HEAD'],
195 195
             '*',
196
-            function (Request $request, TokenInfo $tokenInfo = null) {
196
+            function(Request $request, TokenInfo $tokenInfo = null) {
197 197
                 return $this->getObject($request, $tokenInfo);
198 198
             },
199 199
             array(
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
         // put a document
208 208
         $this->put(
209 209
             '*',
210
-            function (Request $request, TokenInfo $tokenInfo) {
210
+            function(Request $request, TokenInfo $tokenInfo) {
211 211
                 return $this->putDocument($request, $tokenInfo);
212 212
             },
213 213
             array(
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
         // delete a document
224 224
         $this->delete(
225 225
             '*',
226
-            function (Request $request, TokenInfo $tokenInfo) {
226
+            function(Request $request, TokenInfo $tokenInfo) {
227 227
                 return $this->deleteDocument($request, $tokenInfo);
228 228
             },
229 229
             array(
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         // options request
240 240
         $this->options(
241 241
             '*',
242
-            function (Request $request) {
242
+            function(Request $request) {
243 243
                 return $this->optionsRequest($request);
244 244
             },
245 245
             array(
Please login to merge, or discard this patch.
src/fkooman/RemoteStorage/DocumentStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     public function getFolder(Path $p)
148 148
     {
149 149
         $folderPath = $this->baseDir.$p->getPath();
150
-        $entries = glob($folderPath.'*', GLOB_ERR | GLOB_MARK);
150
+        $entries = glob($folderPath.'*', GLOB_ERR|GLOB_MARK);
151 151
         if (false === $entries) {
152 152
             // directory does not exist, return empty list
153 153
             return array();
Please login to merge, or discard this patch.
web/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 $remoteStorage = new RemoteStorage($md, $document);
75 75
 
76 76
 $userAuth = new FormAuthentication(
77
-    function ($userId) use ($configReader) {
77
+    function($userId) use ($configReader) {
78 78
         $userList = $configReader->v('Users');
79 79
         if (null === $userList || !array_key_exists($userId, $userList)) {
80 80
             return false;
Please login to merge, or discard this patch.