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 ( 83c981...ed9f34 )
by François
02:23
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   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
         $this->get(
67 67
             '/_account',
68
-            function (Request $request, UserInfoInterface $userInfo) {
68
+            function(Request $request, UserInfoInterface $userInfo) {
69 69
                 $approvalList = $this->approvalManagementStorage->getApprovalList($userInfo->getUserId());
70 70
 
71 71
                 return $this->templateManager->render(
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
         $this->delete(
91 91
             '/_approvals',
92
-            function (Request $request, UserInfoInterface $userInfo) {
92
+            function(Request $request, UserInfoInterface $userInfo) {
93 93
                 $deleteApprovalRequest = RequestValidation::validateDeleteApprovalRequest($request);
94 94
 
95 95
                 $approval = new Approval(
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
         $this->get(
113 113
             '/',
114
-            function (Request $request, UserInfoInterface $userInfo = null) {
114
+            function(Request $request, UserInfoInterface $userInfo = null) {
115 115
                 return $this->templateManager->render(
116 116
                     'indexPage',
117 117
                     array(
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         $this->addRoute(
132 132
             ['GET', 'HEAD'],
133 133
             '*',
134
-            function (Request $request, TokenInfo $tokenInfo = null) {
134
+            function(Request $request, TokenInfo $tokenInfo = null) {
135 135
                 return $this->getObject($request, $tokenInfo);
136 136
             },
137 137
             array(
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         // put a document
146 146
         $this->put(
147 147
             '*',
148
-            function (Request $request, TokenInfo $tokenInfo) {
148
+            function(Request $request, TokenInfo $tokenInfo) {
149 149
                 return $this->putDocument($request, $tokenInfo);
150 150
             },
151 151
             array(
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         // delete a document
162 162
         $this->delete(
163 163
             '*',
164
-            function (Request $request, TokenInfo $tokenInfo) {
164
+            function(Request $request, TokenInfo $tokenInfo) {
165 165
                 return $this->deleteDocument($request, $tokenInfo);
166 166
             },
167 167
             array(
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
         // options request
178 178
         $this->options(
179 179
             '*',
180
-            function (Request $request) {
180
+            function(Request $request) {
181 181
                 return $this->optionsRequest($request);
182 182
             },
183 183
             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.