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 ( 981090...e30cbf )
by Christian
01:43
created
src/Builder/TrackTopTagsBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function autocorrect(bool $autocorrect): self
60 60
     {
61
-        $this->query['autocorrect'] =  $autocorrect ? 1 : 0;
61
+        $this->query['autocorrect'] = $autocorrect ? 1 : 0;
62 62
 
63 63
         return $this;
64 64
     }
Please login to merge, or discard this patch.
src/Builder/SimilarTrackBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function autocorrect(bool $autocorrect): self
60 60
     {
61
-        $this->query['autocorrect'] =  $autocorrect ? 1 : 0;
61
+        $this->query['autocorrect'] = $autocorrect ? 1 : 0;
62 62
 
63 63
         return $this;
64 64
     }
Please login to merge, or discard this patch.
src/Builder/AlbumTopTagsBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function autocorrect(bool $autocorrect): self
60 60
     {
61
-        $this->query['autocorrect'] =  $autocorrect ? 1 : 0;
61
+        $this->query['autocorrect'] = $autocorrect ? 1 : 0;
62 62
 
63 63
         return $this;
64 64
     }
Please login to merge, or discard this patch.
src/Service/TrackService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             throw new InvalidArgumentException('A maximum of 10 tags is allowed');
40 40
         }
41 41
 
42
-        array_filter($tags, static function ($tag) {
42
+        array_filter($tags, static function($tag) {
43 43
             if (null === $tag || !\is_string($tag)) {
44 44
                 throw new InvalidArgumentException(sprintf('Invalid tag given'));
45 45
             }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             return [];
95 95
         }
96 96
 
97
-        return array_map(static function ($data) {
97
+        return array_map(static function($data) {
98 98
             return SongInfo::fromApi($data);
99 99
         }, $response['similartracks']['track']);
100 100
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
             return [];
111 111
         }
112 112
 
113
-        return array_map(static function ($data) {
113
+        return array_map(static function($data) {
114 114
             return Tag::fromApi($data);
115 115
         }, $response['tags']['tag']);
116 116
     }
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             return [];
127 127
         }
128 128
 
129
-        return array_map(static function ($data) {
129
+        return array_map(static function($data) {
130 130
             return Tag::fromApi($data);
131 131
         }, $response['toptags']['tag']);
132 132
     }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
             return [];
187 187
         }
188 188
 
189
-        return array_map(static function ($data) {
189
+        return array_map(static function($data) {
190 190
             return SongInfo::fromApi($data);
191 191
         }, $response['results']['trackmatches']['track']);
192 192
     }
Please login to merge, or discard this patch.
src/Service/TagService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             return [];
51 51
         }
52 52
 
53
-        return array_map(static function ($data) {
53
+        return array_map(static function($data) {
54 54
             return Tag::fromApi($data);
55 55
         }, $response['similartags']['tag']);
56 56
     }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             return [];
71 71
         }
72 72
 
73
-        return array_map(static function ($data) {
73
+        return array_map(static function($data) {
74 74
             return Album::fromApi($data);
75 75
         }, $response['albums']['album']);
76 76
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             return [];
91 91
         }
92 92
 
93
-        return array_map(static function ($data) {
93
+        return array_map(static function($data) {
94 94
             return Artist::fromApi($data);
95 95
         }, $response['topartists']['artist']);
96 96
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             return [];
107 107
         }
108 108
 
109
-        return array_map(static function ($data) {
109
+        return array_map(static function($data) {
110 110
             return Tag::fromApi($data);
111 111
         }, $response['toptags']['tag']);
112 112
     }
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             return [];
127 127
         }
128 128
 
129
-        return array_map(static function ($data) {
129
+        return array_map(static function($data) {
130 130
             return Song::fromApi($data);
131 131
         }, $response['tracks']['track']);
132 132
     }
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             return [];
145 145
         }
146 146
 
147
-        return array_map(static function ($data) {
147
+        return array_map(static function($data) {
148 148
             return Chart::fromApi($data);
149 149
         }, $response['weeklychartlist']['chart']);
150 150
     }
Please login to merge, or discard this patch.
src/Service/ChartService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             return [];
32 32
         }
33 33
 
34
-        return array_map(static function ($data) {
34
+        return array_map(static function($data) {
35 35
             return ArtistInfo::fromApi($data);
36 36
         }, $response['artists']['artist']);
37 37
     }
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             return [];
51 51
         }
52 52
 
53
-        return array_map(static function ($data) {
53
+        return array_map(static function($data) {
54 54
             return Tag::fromApi($data);
55 55
         }, $response['tags']['tag']);
56 56
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
             return [];
70 70
         }
71 71
 
72
-        return array_map(static function ($data) {
72
+        return array_map(static function($data) {
73 73
             return Song::fromApi($data);
74 74
         }, $response['tracks']['track']);
75 75
     }
Please login to merge, or discard this patch.
src/Service/UserService.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             return [];
41 41
         }
42 42
 
43
-        return array_map(static function ($data) {
43
+        return array_map(static function($data) {
44 44
             return Song::fromApi($data);
45 45
         }, $response['artisttracks']['track']);
46 46
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             return [];
62 62
         }
63 63
 
64
-        return array_map(static function ($data) {
64
+        return array_map(static function($data) {
65 65
             return User::fromApi($data);
66 66
         }, $response['friends']['user']);
67 67
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function getInfo(string $username): ?User
73 73
     {
74
-        $response =  $this->unsignedCall('user.getInfo', [
74
+        $response = $this->unsignedCall('user.getInfo', [
75 75
             'user' => $username,
76 76
         ]);
77 77
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             return [];
98 98
         }
99 99
 
100
-        return array_map(static function ($data) {
100
+        return array_map(static function($data) {
101 101
             return Song::fromApi($data);
102 102
         }, $response['lovedtracks']['track']);
103 103
     }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             return [];
121 121
         }
122 122
 
123
-        return array_map(static function ($data) {
123
+        return array_map(static function($data) {
124 124
             return Song::fromApi($data);
125 125
         }, $response['recenttracks']['track']);
126 126
     }
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      */
131 131
     public function getPersonalTagsForArtist(string $username, string $tag, int $limit = 50, int $page = 1): array
132 132
     {
133
-        $response =  $this->unsignedCall('user.getPersonalTags', [
133
+        $response = $this->unsignedCall('user.getPersonalTags', [
134 134
             'taggingtype' => 'artist',
135 135
             'user'        => $username,
136 136
             'tag'         => $tag,
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             return [];
143 143
         }
144 144
 
145
-        return array_map(static function ($data) {
145
+        return array_map(static function($data) {
146 146
             return Artist::fromApi($data);
147 147
         }, $response['taggings']['artists']['artist']);
148 148
     }
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
             return [];
165 165
         }
166 166
 
167
-        return array_map(static function ($data) {
167
+        return array_map(static function($data) {
168 168
             return Album::fromApi($data);
169 169
         }, $response['taggings']['albums']['album']);
170 170
     }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
             return [];
187 187
         }
188 188
 
189
-        return array_map(static function ($data) {
189
+        return array_map(static function($data) {
190 190
             return SongInfo::fromApi($data);
191 191
         }, $response['taggings']['tracks']['track']);
192 192
     }
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
             return [];
208 208
         }
209 209
 
210
-        return array_map(static function ($data) {
210
+        return array_map(static function($data) {
211 211
             return Album::fromApi($data);
212 212
         }, $response['topalbums']['album']);
213 213
     }
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
             return [];
229 229
         }
230 230
 
231
-        return array_map(static function ($data) {
231
+        return array_map(static function($data) {
232 232
             return Artist::fromApi($data);
233 233
         }, $response['topartists']['artist']);
234 234
     }
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
             return [];
248 248
         }
249 249
 
250
-        return array_map(static function ($data) {
250
+        return array_map(static function($data) {
251 251
             return Tag::fromApi($data);
252 252
         }, $response['toptags']['tag']);
253 253
     }
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
             return [];
269 269
         }
270 270
 
271
-        return array_map(static function ($data) {
271
+        return array_map(static function($data) {
272 272
             return SongInfo::fromApi($data);
273 273
         }, $response['toptracks']['track']);
274 274
     }
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
             return [];
289 289
         }
290 290
 
291
-        return array_map(static function ($data) {
291
+        return array_map(static function($data) {
292 292
             return Album::fromApi($data);
293 293
         }, $response['weeklyalbumchart']['album']);
294 294
     }
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
             return [];
309 309
         }
310 310
 
311
-        return array_map(static function ($data) {
311
+        return array_map(static function($data) {
312 312
             return Artist::fromApi($data);
313 313
         }, $response['weeklyartistchart']['artist']);
314 314
     }
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
             return [];
327 327
         }
328 328
 
329
-        return array_map(static function ($data) {
329
+        return array_map(static function($data) {
330 330
             return Chart::fromApi($data);
331 331
         }, $response['weeklychartlist']['chart']);
332 332
     }
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
             return [];
347 347
         }
348 348
 
349
-        return array_map(static function ($data) {
349
+        return array_map(static function($data) {
350 350
             return SongInfo::fromApi($data);
351 351
         }, $response['weeklytrackchart']['track']);
352 352
     }
Please login to merge, or discard this patch.
src/Service/ArtistService.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             throw new InvalidArgumentException('A maximum of 10 tags is allowed');
42 42
         }
43 43
 
44
-        array_filter($tags, static function ($tag) {
44
+        array_filter($tags, static function($tag) {
45 45
             if (null === $tag || !\is_string($tag)) {
46 46
                 throw new InvalidArgumentException(sprintf('Invalid tag given'));
47 47
             }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             return [];
95 95
         }
96 96
 
97
-        return array_map(static function ($data) {
97
+        return array_map(static function($data) {
98 98
             return Artist::fromApi($data);
99 99
         }, $response['similarartists']['artist']);
100 100
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
             return [];
111 111
         }
112 112
 
113
-        return array_map(static function ($data) {
113
+        return array_map(static function($data) {
114 114
             return Tag::fromApi($data);
115 115
         }, $response['tags']['tag']);
116 116
     }
@@ -120,13 +120,13 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function getTopAlbums(ArtistTopAlbumsBuilder $builder): array
122 122
     {
123
-        $response =  $this->unsignedCall('artist.getTopAlbums', $builder->getQuery());
123
+        $response = $this->unsignedCall('artist.getTopAlbums', $builder->getQuery());
124 124
 
125 125
         if (!isset($response['topalbums']['album'])) {
126 126
             return [];
127 127
         }
128 128
 
129
-        return array_map(static function ($data) {
129
+        return array_map(static function($data) {
130 130
             return Album::fromApi($data);
131 131
         }, $response['topalbums']['album']);
132 132
     }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             return [];
143 143
         }
144 144
 
145
-        return array_map(static function ($data) {
145
+        return array_map(static function($data) {
146 146
             return Tag::fromApi($data);
147 147
         }, $response['toptags']['tag']);
148 148
     }
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
             return [];
159 159
         }
160 160
 
161
-        return array_map(static function ($data) {
161
+        return array_map(static function($data) {
162 162
             return Song::fromApi($data);
163 163
         }, $response['toptracks']['track']);
164 164
     }
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
             return [];
190 190
         }
191 191
 
192
-        return array_map(static function ($data) {
192
+        return array_map(static function($data) {
193 193
             return Artist::fromApi($data);
194 194
         }, $response['results']['artistmatches']['artist']);
195 195
     }
Please login to merge, or discard this patch.
src/Service/LibraryService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             return [];
31 31
         }
32 32
 
33
-        return array_map(static function ($data) {
33
+        return array_map(static function($data) {
34 34
             return ArtistInfo::fromApi($data);
35 35
         }, $response['artists']['artist']);
36 36
     }
Please login to merge, or discard this patch.