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 ( 909c28...c70e88 )
by Christian
01:25
created
src/Service/TagService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         }
67 67
 
68 68
         return ApiHelper::mapList(
69
-            static function ($data) {
69
+            static function($data) {
70 70
                 return Tag::fromApi($data);
71 71
             },
72 72
             $response['similartags']['tag']
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         }
90 90
 
91 91
         return ApiHelper::mapList(
92
-            static function ($data) {
92
+            static function($data) {
93 93
                 return Album::fromApi($data);
94 94
             },
95 95
             $response['albums']['album']
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         }
113 113
 
114 114
         return ApiHelper::mapList(
115
-            static function ($data) {
115
+            static function($data) {
116 116
                 return Artist::fromApi($data);
117 117
             },
118 118
             $response['topartists']['artist']
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         }
132 132
 
133 133
         return ApiHelper::mapList(
134
-            static function ($data) {
134
+            static function($data) {
135 135
                 return Tag::fromApi($data);
136 136
             },
137 137
             $response['toptags']['tag']
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         }
155 155
 
156 156
         return ApiHelper::mapList(
157
-            static function ($data) {
157
+            static function($data) {
158 158
                 return Song::fromApi($data);
159 159
             },
160 160
             $response['tracks']['track']
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         }
176 176
 
177 177
         return ApiHelper::mapList(
178
-            static function ($data) {
178
+            static function($data) {
179 179
                 return Chart::fromApi($data);
180 180
             },
181 181
             $response['weeklychartlist']['chart']
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
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         }
47 47
 
48 48
         return ApiHelper::mapList(
49
-            static function ($data) {
49
+            static function($data) {
50 50
                 return ArtistInfo::fromApi($data);
51 51
             },
52 52
             $response['artists']['artist']
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
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             throw new InvalidArgumentException('A maximum of 10 tags is allowed');
57 57
         }
58 58
 
59
-        array_filter($tags, static function ($tag) {
59
+        array_filter($tags, static function($tag) {
60 60
             if (null === $tag || !\is_string($tag)) {
61 61
                 throw new InvalidArgumentException(sprintf('Invalid tag given'));
62 62
             }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         }
111 111
 
112 112
         return ApiHelper::mapList(
113
-            static function ($data) {
113
+            static function($data) {
114 114
                 return Artist::fromApi($data);
115 115
             },
116 116
             $response['similarartists']['artist']
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         }
130 130
 
131 131
         return ApiHelper::mapList(
132
-            static function ($data) {
132
+            static function($data) {
133 133
                 return Tag::fromApi($data);
134 134
             },
135 135
             $response['tags']['tag']
@@ -141,14 +141,14 @@  discard block
 block discarded – undo
141 141
      */
142 142
     public function getTopAlbums(ArtistTopAlbumsBuilder $builder): array
143 143
     {
144
-        $response =  $this->client->unsignedCall('artist.getTopAlbums', $builder->getQuery());
144
+        $response = $this->client->unsignedCall('artist.getTopAlbums', $builder->getQuery());
145 145
 
146 146
         if (!isset($response['topalbums']['album'])) {
147 147
             return [];
148 148
         }
149 149
 
150 150
         return ApiHelper::mapList(
151
-            static function ($data) {
151
+            static function($data) {
152 152
                 return Album::fromApi($data);
153 153
             },
154 154
             $response['topalbums']['album']
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
         }
168 168
 
169 169
         return ApiHelper::mapList(
170
-            static function ($data) {
170
+            static function($data) {
171 171
                 return Tag::fromApi($data);
172 172
             },
173 173
             $response['toptags']['tag']
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         }
187 187
 
188 188
         return ApiHelper::mapList(
189
-            static function ($data) {
189
+            static function($data) {
190 190
                 return Song::fromApi($data);
191 191
             },
192 192
             $response['toptracks']['track']
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
         }
221 221
 
222 222
         return ApiHelper::mapList(
223
-            static function ($data) {
223
+            static function($data) {
224 224
                 return Artist::fromApi($data);
225 225
             },
226 226
             $response['results']['artistmatches']['artist']
Please login to merge, or discard this patch.
src/Service/GeoService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         }
48 48
 
49 49
         return ApiHelper::mapList(
50
-            static function ($data) {
50
+            static function($data) {
51 51
                 return Artist::fromApi($data);
52 52
             },
53 53
             $response['topartists']['artist']
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         }
72 72
 
73 73
         return ApiHelper::mapList(
74
-            static function ($data) {
74
+            static function($data) {
75 75
                 return Song::fromApi($data);
76 76
             },
77 77
             $response['tracks']['track']
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
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             throw new InvalidArgumentException('A maximum of 10 tags is allowed');
55 55
         }
56 56
 
57
-        array_filter($tags, static function ($tag) {
57
+        array_filter($tags, static function($tag) {
58 58
             if (null === $tag || !\is_string($tag)) {
59 59
                 throw new InvalidArgumentException(sprintf('Invalid tag given'));
60 60
             }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         }
111 111
 
112 112
         return ApiHelper::mapList(
113
-            static function ($data) {
113
+            static function($data) {
114 114
                 return SongInfo::fromApi($data);
115 115
             },
116 116
             $response['similartracks']['track']
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         }
130 130
 
131 131
         return ApiHelper::mapList(
132
-            static function ($data) {
132
+            static function($data) {
133 133
                 return Tag::fromApi($data);
134 134
             },
135 135
             $response['tags']['tag']
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         }
149 149
 
150 150
         return ApiHelper::mapList(
151
-            static function ($data) {
151
+            static function($data) {
152 152
                 return Tag::fromApi($data);
153 153
             },
154 154
             $response['toptags']['tag']
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         }
212 212
 
213 213
         return ApiHelper::mapList(
214
-            static function ($data) {
214
+            static function($data) {
215 215
                 return SongInfo::fromApi($data);
216 216
             },
217 217
             $response['results']['trackmatches']['track']
Please login to merge, or discard this patch.