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 (#834)
by Beatrycze
03:47
created
Classes/Format/Mods.php 1 patch
Braces   +20 added lines, -10 removed lines patch added patch discarded remove patch
@@ -59,7 +59,8 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return void
61 61
      */
62
-    private function getAuthors() {
62
+    private function getAuthors()
63
+    {
63 64
         $authors = $this->xml->xpath('./mods:name[./mods:role/mods:roleTerm[@type="code" and @authority="marcrelator"]="aut"]');
64 65
 
65 66
         // Get "author" and "author_sorting" again if that was too sophisticated.
@@ -123,7 +124,8 @@  discard block
 block discarded – undo
123 124
      *
124 125
      * @return void
125 126
      */
126
-    private function getHolders() {
127
+    private function getHolders()
128
+    {
127 129
         $holders = $this->xml->xpath('./mods:name[./mods:role/mods:roleTerm[@type="code" and @authority="marcrelator"]="prv"]');
128 130
 
129 131
         if (!empty($holders)) {
@@ -181,7 +183,8 @@  discard block
 block discarded – undo
181 183
      *
182 184
      * @return void
183 185
      */
184
-    private function getPlaces() {
186
+    private function getPlaces()
187
+    {
185 188
         $places = $this->xml->xpath('./mods:originInfo[not(./mods:edition="[Electronic ed.]")]/mods:place/mods:placeTerm');
186 189
         // Get "place" and "place_sorting" again if that was to sophisticated.
187 190
         if (empty($places)) {
@@ -205,7 +208,8 @@  discard block
 block discarded – undo
205 208
      *
206 209
      * @return void
207 210
      */
208
-    private function getYears() {
211
+    private function getYears()
212
+    {
209 213
         // Get "year_sorting".
210 214
         if (($years_sorting = $this->xml->xpath('./mods:originInfo[not(./mods:edition="[Electronic ed.]")]/mods:dateOther[@type="order" and @encoding="w3cdtf"]'))) {
211 215
             foreach ($years_sorting as $year_sorting) {
@@ -243,7 +247,8 @@  discard block
 block discarded – undo
243 247
      *
244 248
      * @return void
245 249
      */
246
-    private function getDescription() {
250
+    private function getDescription()
251
+    {
247 252
         $this->getSingleMetadata('description', './mods:recordInfo/mods:recordInfoNote/text()');
248 253
     }
249 254
 
@@ -254,7 +259,8 @@  discard block
 block discarded – undo
254 259
      *
255 260
      * @return void
256 261
      */
257
-    private function getIdentifier() {
262
+    private function getIdentifier()
263
+    {
258 264
         $this->getSingleMetadata('identifier', './mods:identifier/text()');
259 265
     }
260 266
 
@@ -265,7 +271,8 @@  discard block
 block discarded – undo
265 271
      *
266 272
      * @return void
267 273
      */
268
-    private function getLicense() {
274
+    private function getLicense()
275
+    {
269 276
         $this->getSingleMetadata('license', './mods:accessCondition/text()');
270 277
     }
271 278
 
@@ -278,7 +285,8 @@  discard block
 block discarded – undo
278 285
      *
279 286
      * @return void
280 287
      */
281
-    private function getObjectNames() {
288
+    private function getObjectNames()
289
+    {
282 290
         $this->getSingleMetadata('object_name', './mods:relatedItem/mods:titleInfo[not(@displayLabel="alternative")]/mods:title/text()');
283 291
         $this->getSingleMetadata('object_alternative_names', './mods:relatedItem/mods:titleInfo[@displayLabel="alternative"]/mods:title/text()');
284 292
     }
@@ -294,7 +302,8 @@  discard block
 block discarded – undo
294 302
      *
295 303
      * @return void
296 304
      */
297
-    private function getObjectLocationMetadata() {
305
+    private function getObjectLocationMetadata()
306
+    {
298 307
         $this->getSingleMetadata('object_location', './mods:relatedItem/mods:location/mods:physicalLocation/text()');
299 308
         $this->getSingleMetadata('geonames', './mods:relatedItem/mods:location/mods:url[@displayLabel="geonames"]/text()');
300 309
         $this->getSingleMetadata('wikidata', './mods:relatedItem/mods:location/mods:url[@displayLabel="wikidata"]/text()');
@@ -311,7 +320,8 @@  discard block
 block discarded – undo
311 320
      *
312 321
      * @return void
313 322
      */
314
-    private function getSingleMetadata($metadataIndex, $xpath) {
323
+    private function getSingleMetadata($metadataIndex, $xpath)
324
+    {
315 325
         $results = $this->xml->xpath($xpath);
316 326
         if (!empty($results)) {
317 327
             foreach ($results as $result) {
Please login to merge, or discard this patch.
Classes/Api/Viaf/ViafClient.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,8 @@
 block discarded – undo
73 73
     /**
74 74
      * @param string  $endpoint the shortname of the endpoint
75 75
      */
76
-    public function setEndpoint($endpoint) {
76
+    public function setEndpoint($endpoint)
77
+    {
77 78
         $this->endpoint = $endpoint;
78 79
     }
79 80
 
Please login to merge, or discard this patch.