Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

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
Pull Request — master (#874)
by Sebastian
04:12 queued 51s
created
Classes/Controller/ListViewController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         // extract collection(s) from collection parameter
76 76
         $collection = null;
77 77
         if ($this->searchParams['collection']) {
78
-            foreach(explode(',', $this->searchParams['collection']) as $collectionEntry) {
78
+            foreach (explode(',', $this->searchParams['collection']) as $collectionEntry) {
79 79
                 $collection[] = $this->collectionRepository->findByUid($collectionEntry);
80 80
             }
81 81
         }
Please login to merge, or discard this patch.
Classes/Controller/SearchController.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -258,8 +258,7 @@
 block discarded – undo
258 258
                 // check for virtual collections query string
259 259
                 if($collectionEntry->getIndexSearch()) {
260 260
                     $virtualCollectionsQueryString .= empty($virtualCollectionsQueryString) ? '(' . $collectionEntry->getIndexSearch() . ')' : ' OR ('. $collectionEntry->getIndexSearch() . ')' ;
261
-                }
262
-                else {
261
+                } else {
263 262
                     $collectionsQueryString .= empty($collectionsQueryString) ? '"' . $collectionEntry->getIndexName() . '"' : ' OR "' . $collectionEntry->getIndexName() . '"';
264 263
                 }
265 264
             }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         // extract collections from collection parameter
247 247
         $collection = null;
248 248
         if ($this->searchParams['collection']) {
249
-            foreach(explode(',', $this->searchParams['collection']) as $collectionEntry) {
249
+            foreach (explode(',', $this->searchParams['collection']) as $collectionEntry) {
250 250
                 $collection[] = $this->collectionRepository->findByUid($collectionEntry);
251 251
             }
252 252
             
@@ -256,8 +256,8 @@  discard block
 block discarded – undo
256 256
             $virtualCollectionsQueryString = '';
257 257
             foreach ($collection as $collectionEntry) {
258 258
                 // check for virtual collections query string
259
-                if($collectionEntry->getIndexSearch()) {
260
-                    $virtualCollectionsQueryString .= empty($virtualCollectionsQueryString) ? '(' . $collectionEntry->getIndexSearch() . ')' : ' OR ('. $collectionEntry->getIndexSearch() . ')' ;
259
+                if ($collectionEntry->getIndexSearch()) {
260
+                    $virtualCollectionsQueryString .= empty($virtualCollectionsQueryString) ? '(' . $collectionEntry->getIndexSearch() . ')' : ' OR (' . $collectionEntry->getIndexSearch() . ')';
261 261
                 }
262 262
                 else {
263 263
                     $collectionsQueryString .= empty($collectionsQueryString) ? '"' . $collectionEntry->getIndexName() . '"' : ' OR "' . $collectionEntry->getIndexName() . '"';
@@ -265,8 +265,8 @@  discard block
 block discarded – undo
265 265
             }
266 266
             
267 267
             // distinguish between simple collection browsing and actual searching within the collection(s)
268
-            if(!empty($collectionsQueryString)) {
269
-                if(empty($searchParams['query'])) {
268
+            if (!empty($collectionsQueryString)) {
269
+                if (empty($searchParams['query'])) {
270 270
                     $collectionsQueryString = '(collection_faceting:(' . $collectionsQueryString . ') AND toplevel:true AND partof:0)';
271 271
                 } else {
272 272
                     $collectionsQueryString = '(collection_faceting:(' . $collectionsQueryString . '))';
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
             }
275 275
 
276 276
             // virtual collections might query documents that are neither toplevel:true nor partof:0 and need to be searched separatly
277
-            if(!empty($virtualCollectionsQueryString)) {
277
+            if (!empty($virtualCollectionsQueryString)) {
278 278
                 $virtualCollectionsQueryString = '(' . $virtualCollectionsQueryString . ')';
279 279
             }
280 280
 
Please login to merge, or discard this patch.
Classes/Common/SolrSearch.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -258,8 +258,7 @@
 block discarded – undo
258 258
                 // check for virtual collections query string
259 259
                 if($collectionEntry->getIndexSearch()) {
260 260
                     $virtualCollectionsQueryString .= empty($virtualCollectionsQueryString) ? '(' . $collectionEntry->getIndexSearch() . ')' : ' OR ('. $collectionEntry->getIndexSearch() . ')' ;
261
-                }
262
-                else {
261
+                } else {
263 262
                     $collectionsQueryString .= empty($collectionsQueryString) ? '"' . $collectionEntry->getIndexName() . '"' : ' OR "' . $collectionEntry->getIndexName() . '"';
264 263
                 }
265 264
             }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -236,8 +236,8 @@  discard block
 block discarded – undo
236 236
             $virtualCollectionsQueryString = '';
237 237
             foreach ($this->collection as $collectionEntry) {
238 238
                 // check for virtual collections query string
239
-                if($collectionEntry->getIndexSearch()) {
240
-                    $virtualCollectionsQueryString .= empty($virtualCollectionsQueryString) ? '(' . $collectionEntry->getIndexSearch() . ')' : ' OR ('. $collectionEntry->getIndexSearch() . ')' ;
239
+                if ($collectionEntry->getIndexSearch()) {
240
+                    $virtualCollectionsQueryString .= empty($virtualCollectionsQueryString) ? '(' . $collectionEntry->getIndexSearch() . ')' : ' OR (' . $collectionEntry->getIndexSearch() . ')';
241 241
                 }
242 242
                 else {
243 243
                     $collectionsQueryString .= empty($collectionsQueryString) ? '"' . $collectionEntry->getIndexName() . '"' : ' OR "' . $collectionEntry->getIndexName() . '"';
@@ -245,8 +245,8 @@  discard block
 block discarded – undo
245 245
             }
246 246
             
247 247
             // distinguish between simple collection browsing and actual searching within the collection(s)
248
-            if(!empty($collectionsQueryString)) {
249
-                if(empty($query)) {
248
+            if (!empty($collectionsQueryString)) {
249
+                if (empty($query)) {
250 250
                     $collectionsQueryString = '(collection_faceting:(' . $collectionsQueryString . ') AND toplevel:true AND partof:0)';
251 251
                 } else {
252 252
                     $collectionsQueryString = '(collection_faceting:(' . $collectionsQueryString . '))';
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
             }
255 255
 
256 256
             // virtual collections might query documents that are neither toplevel:true nor partof:0 and need to be searched separatly
257
-            if(!empty($virtualCollectionsQueryString)) {
257
+            if (!empty($virtualCollectionsQueryString)) {
258 258
                 $virtualCollectionsQueryString = '(' . $virtualCollectionsQueryString . ')';
259 259
             }
260 260
 
Please login to merge, or discard this patch.