We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -73,7 +73,8 @@ |
||
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 |
@@ -35,12 +35,12 @@ |
||
35 | 35 | */ |
36 | 36 | protected $logger; |
37 | 37 | |
38 | - /** |
|
39 | - * This holds the client |
|
40 | - * |
|
41 | - * @var Client |
|
42 | - * @access protected |
|
43 | - */ |
|
38 | + /** |
|
39 | + * This holds the client |
|
40 | + * |
|
41 | + * @var Client |
|
42 | + * @access protected |
|
43 | + */ |
|
44 | 44 | protected $client; |
45 | 45 | |
46 | 46 | /** |
@@ -68,7 +68,8 @@ discard block |
||
68 | 68 | * |
69 | 69 | * @return void |
70 | 70 | */ |
71 | - private function getAuthors() { |
|
71 | + private function getAuthors() |
|
72 | + { |
|
72 | 73 | $authors = $this->xml->xpath('./mods:name[./mods:role/mods:roleTerm[@type="code" and @authority="marcrelator"]="aut"]'); |
73 | 74 | |
74 | 75 | // Get "author" and "author_sorting" again if that was too sophisticated. |
@@ -130,7 +131,8 @@ discard block |
||
130 | 131 | * |
131 | 132 | * @return void |
132 | 133 | */ |
133 | - private function getHolders() { |
|
134 | + private function getHolders() |
|
135 | + { |
|
134 | 136 | $holders = $this->xml->xpath('./mods:name[./mods:role/mods:roleTerm[@type="code" and @authority="marcrelator"]="prv"]'); |
135 | 137 | |
136 | 138 | if (!empty($holders)) { |
@@ -183,7 +185,8 @@ discard block |
||
183 | 185 | * |
184 | 186 | * @return void |
185 | 187 | */ |
186 | - private function getPlaces() { |
|
188 | + private function getPlaces() |
|
189 | + { |
|
187 | 190 | $places = $this->xml->xpath('./mods:originInfo[not(./mods:edition="[Electronic ed.]")]/mods:place/mods:placeTerm'); |
188 | 191 | // Get "place" and "place_sorting" again if that was to sophisticated. |
189 | 192 | if (empty($places)) { |
@@ -207,7 +210,8 @@ discard block |
||
207 | 210 | * |
208 | 211 | * @return void |
209 | 212 | */ |
210 | - private function getYears() { |
|
213 | + private function getYears() |
|
214 | + { |
|
211 | 215 | // Get "year_sorting". |
212 | 216 | if (($years_sorting = $this->xml->xpath('./mods:originInfo[not(./mods:edition="[Electronic ed.]")]/mods:dateOther[@type="order" and @encoding="w3cdtf"]'))) { |
213 | 217 | foreach ($years_sorting as $year_sorting) { |