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 ( 9d1a02...f168dc )
by François
04:50
created
src/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.
src/Http/Response.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@
 block discarded – undo
94 94
         return $output;
95 95
     }
96 96
 
97
+    /**
98
+     * @param string $fileName
99
+     */
97 100
     public function setFile($fileName)
98 101
     {
99 102
         $this->addHeader('X-SENDFILE', $fileName);
Please login to merge, or discard this patch.
src/ApiModule.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $service->addRoute(
52 52
             'GET',
53 53
             '*',
54
-            function (Request $request, array $hookData) {
54
+            function(Request $request, array $hookData) {
55 55
                 $tokenInfo = $hookData['bearer'];
56 56
 
57 57
                 $response = $this->getObject($request, $tokenInfo);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $service->addRoute(
66 66
             'HEAD',
67 67
             '*',
68
-            function (Request $request, array $hookData) {
68
+            function(Request $request, array $hookData) {
69 69
                 $tokenInfo = $hookData['bearer'];
70 70
 
71 71
                 $response = $this->getObject($request, $tokenInfo);
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         // ApiAuth
81 81
         $service->put(
82 82
             '*',
83
-            function (Request $request, array $hookData) {
83
+            function(Request $request, array $hookData) {
84 84
                 $tokenInfo = $hookData['bearer'];
85 85
 
86 86
                 $response = $this->putDocument($request, $tokenInfo);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         // ApiAuth
95 95
         $service->delete(
96 96
             '*',
97
-            function (Request $request, array $hookData) {
97
+            function(Request $request, array $hookData) {
98 98
                 $tokenInfo = $hookData['bearer'];
99 99
 
100 100
                 $response = $this->deleteDocument($request, $tokenInfo);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         // NoAuth
109 109
         $service->options(
110 110
             '*',
111
-            function (Request $request) {
111
+            function(Request $request) {
112 112
                 $response = new Response();
113 113
                 $response->addHeader(
114 114
                     'Access-Control-Allow-Methods',
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
         return false;
446 446
     }
447 447
 
448
-    private function addCors(Response &$response)
448
+    private function addCors(Response&$response)
449 449
     {
450 450
         $response->addHeader('Access-Control-Allow-Origin', '*');
451 451
         $response->addHeader(
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
         );
455 455
     }
456 456
 
457
-    private function addNoCache(Response &$response)
457
+    private function addNoCache(Response&$response)
458 458
     {
459 459
         $response->addHeader('Expires', '0');
460 460
         $response->addHeader('Cache-Control', 'no-cache');
Please login to merge, or discard this patch.
src/UiModule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         // FormAuth
48 48
         $service->get(
49 49
             '/_account',
50
-            function (Request $request, array $hookData) {
50
+            function(Request $request, array $hookData) {
51 51
                 $userId = $hookData['auth'];
52 52
                 $approvalList = $this->tokenStorage->getAuthorizedClients($userId);
53 53
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         // FormAuth
71 71
         $service->post(
72 72
             '/_account',
73
-            function (Request $request, array $hookData) {
73
+            function(Request $request, array $hookData) {
74 74
                 $userId = $hookData['auth'];
75 75
                 // XXX InputValidation
76 76
                 $clientId = $request->getPostParameter('client_id');
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         // FormAuth OPTIONAL
84 84
         $service->get(
85 85
             '/',
86
-            function (Request $request, array $hookData) {
86
+            function(Request $request, array $hookData) {
87 87
                 $userId = $hookData['auth'];
88 88
 
89 89
                 return new HtmlResponse(
Please login to merge, or discard this patch.
src/OAuth/OAuthModule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         $service->get(
56 56
             '/_oauth/authorize',
57
-            function (Request $request) {
57
+            function(Request $request) {
58 58
                 $this->validateRequest($request);
59 59
                 $this->validateClient($request);
60 60
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
         $service->post(
76 76
             '/_oauth/authorize',
77
-            function (Request $request, array $hookData) {
77
+            function(Request $request, array $hookData) {
78 78
                 $userId = $hookData['auth'];
79 79
 
80 80
                 $this->validateRequest($request);
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
         // XXX we also should enforce HTTPS
159 159
         $redirectUri = $request->getQueryParameter('redirect_uri');
160
-        if (false === filter_var($redirectUri, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED | FILTER_FLAG_PATH_REQUIRED)) {
160
+        if (false === filter_var($redirectUri, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED|FILTER_FLAG_HOST_REQUIRED|FILTER_FLAG_PATH_REQUIRED)) {
161 161
             throw new HttpException('invalid redirect_uri', 400);
162 162
         }
163 163
         $responseType = $request->getQueryParameter('response_type');
Please login to merge, or discard this patch.
src/Http/FormAuthenticationModule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         $service->post(
45 45
             '/_form/auth/verify',
46
-            function (Request $request) {
46
+            function(Request $request) {
47 47
                 $this->session->delete('_form_auth_user');
48 48
 
49 49
                 $authUser = $request->getPostParameter('userName');
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
                 $redirectTo = $request->getPostParameter('_form_auth_redirect_to');
52 52
 
53 53
                 // validate the URL
54
-                if (false === filter_var($redirectTo, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED | FILTER_FLAG_PATH_REQUIRED)) {
54
+                if (false === filter_var($redirectTo, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED|FILTER_FLAG_HOST_REQUIRED|FILTER_FLAG_PATH_REQUIRED)) {
55 55
                     throw new HttpException('invalid redirect_to URL', 400);
56 56
                 }
57 57
                 // extract the "host" part of the URL
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
         $service->post(
92 92
             '/_form/auth/logout',
93
-            function (Request $request) {
93
+            function(Request $request) {
94 94
                 // delete authentication information
95 95
                 $this->session->delete('_form_auth_user');
96 96
                 $this->session->delete('_two_factor_verified');
Please login to merge, or discard this patch.
src/WebfingerModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     {
38 38
         $service->get(
39 39
             '/.well-known/webfinger',
40
-            function (Request $request) {
40
+            function(Request $request) {
41 41
                 $resource = $request->getQueryParameter('resource');
42 42
                 if (null === $resource) {
43 43
                     throw new HttpException('resource parameter missing', 400);
Please login to merge, or discard this patch.