@@ -117,7 +117,7 @@ public function testSearchProjectsByType(): void
117117 $ this ->assertFalse ($ projectList ->hasPreviousPage ());
118118 }
119119
120- public function testSearchProjectsByDownloadCount ()
120+ public function testSearchProjectsByDownloadCount (): void
121121 {
122122 $ options = new ProjectSearchOptions ();
123123 $ options ->setFacets (new FacetANDGroup ([
@@ -170,7 +170,7 @@ public function testGetProject(): void
170170 }
171171 }
172172
173- public function testGetProjectVersionsAndDependencies ()
173+ public function testGetProjectVersionsAndDependencies (): void
174174 {
175175 $ project = $ this ->apiClient ->getProject ("mclogs " );
176176 $ this ->assertNotEmpty ($ project ->getDependencies ());
@@ -183,7 +183,7 @@ public function testGetProjectVersionsAndDependencies()
183183
184184 }
185185
186- public function testGetProjects ()
186+ public function testGetProjects (): void
187187 {
188188 $ ids = ["6DdCzpTL " , "VPo0otUH " ];
189189 $ projects = $ this ->apiClient ->getProjects ($ ids );
@@ -193,7 +193,7 @@ public function testGetProjects()
193193 }
194194 }
195195
196- public function testGetRandomProjects ()
196+ public function testGetRandomProjects (): void
197197 {
198198 $ this ->markTestSkipped ("Known issue: https://github.com/modrinth/labrinth/issues/548 " );
199199// $projects = $this->apiClient->getRandomProjects(5);
@@ -203,7 +203,7 @@ public function testGetRandomProjects()
203203// }
204204 }
205205
206- public function testCheckProjectValidity ()
206+ public function testCheckProjectValidity (): void
207207 {
208208 foreach (["mclogs " , "6DdCzpTL " , "motdgg " , "VPo0otUH " ] as $ idOrSlug ) {
209209 $ this ->assertNotNull ($ this ->apiClient ->checkProjectValidity ($ idOrSlug ));
@@ -212,15 +212,15 @@ public function testCheckProjectValidity()
212212 $ this ->assertNull ($ this ->apiClient ->checkProjectValidity ("i-really-hope-no-one-registers-this-slug " ));
213213 }
214214
215- public function testGetVersion ()
215+ public function testGetVersion (): void
216216 {
217217 $ version = $ this ->apiClient ->getVersion ("moYTqMH3 " );
218218 $ this ->assertNotNull ($ version );
219219 $ this ->assertEquals ("VPo0otUH " , $ version ->getData ()->getProjectId ());
220220 $ this ->assertEquals ("VPo0otUH " , $ version ->getProject ()->getData ()->getId ());
221221 }
222222
223- public function testGetVersions ()
223+ public function testGetVersions (): void
224224 {
225225 $ ids = ["moYTqMH3 " , "gX3fbLHJ " ];
226226 $ versions = $ this ->apiClient ->getVersions ($ ids );
@@ -232,7 +232,7 @@ public function testGetVersions()
232232 }
233233 }
234234
235- public function testGetVersionFromHash ()
235+ public function testGetVersionFromHash (): void
236236 {
237237 $ hashes = [
238238 HashAlgorithm::SHA1 ->value => "5952253d61e199e82eb852c5824c3981b29b209d " ,
@@ -247,7 +247,7 @@ public function testGetVersionFromHash()
247247 }
248248 }
249249
250- public function testGetVersionsFromHashes ()
250+ public function testGetVersionsFromHashes (): void
251251 {
252252 $ hashes = [
253253 "6800de4cf254fd74e0e9b06b34dc87b16624ea838edc795321fb9d6777356d366b47bb1dc736bb6a700861f3619810bd190b10987a32f64dfd261a5d69a2bd8f " ,
@@ -263,7 +263,7 @@ public function testGetVersionsFromHashes()
263263 }
264264 }
265265
266- public function testGetLatestVersionFromHash ()
266+ public function testGetLatestVersionFromHash (): void
267267 {
268268 $ version = $ this ->apiClient ->getLatestVersionFromHash (
269269 "6800de4cf254fd74e0e9b06b34dc87b16624ea838edc795321fb9d6777356d366b47bb1dc736bb6a700861f3619810bd190b10987a32f64dfd261a5d69a2bd8f " ,
@@ -279,7 +279,7 @@ public function testGetLatestVersionFromHash()
279279 );
280280 }
281281
282- public function testGetLatestVersionsFromHashes ()
282+ public function testGetLatestVersionsFromHashes (): void
283283 {
284284 $ versions = $ this ->apiClient ->getLatestVersionsFromHashes (
285285 [
@@ -300,7 +300,7 @@ public function testGetLatestVersionsFromHashes()
300300 }
301301 }
302302
303- public function testGetUser ()
303+ public function testGetUser (): void
304304 {
305305 $ user = $ this ->apiClient ->getUser ("Julian " );
306306 $ this ->assertNotNull ($ user );
@@ -309,7 +309,7 @@ public function testGetUser()
309309 $ this ->assertNotNull ($ projects );
310310 }
311311
312- public function testGetUsers ()
312+ public function testGetUsers (): void
313313 {
314314 $ ids = ["b1AIbOxO " , "ySB3MPni " ];
315315 $ users = $ this ->apiClient ->getUsers ($ ids );
@@ -319,7 +319,7 @@ public function testGetUsers()
319319 }
320320 }
321321
322- public function testGetProjectMembers ()
322+ public function testGetProjectMembers (): void
323323 {
324324 $ members = $ this ->apiClient ->getProjectMembers ("VPo0otUH " );
325325 $ this ->assertNotNull ($ members );
@@ -329,7 +329,7 @@ public function testGetProjectMembers()
329329 }
330330 }
331331
332- public function testGetTeamMembers ()
332+ public function testGetTeamMembers (): void
333333 {
334334 $ members = $ this ->apiClient ->getTeamMembers ("ThaUQrOs " );
335335 $ this ->assertNotEmpty ($ members );
@@ -338,7 +338,7 @@ public function testGetTeamMembers()
338338 }
339339 }
340340
341- public function testGetTeams ()
341+ public function testGetTeams (): void
342342 {
343343 $ teams = $ this ->apiClient ->getTeams (["ThaUQrOs " ]);
344344 $ this ->assertNotEmpty ($ teams );
@@ -349,7 +349,7 @@ public function testGetTeams()
349349 }
350350 }
351351
352- public function testGetCategories ()
352+ public function testGetCategories (): void
353353 {
354354 $ items = $ this ->apiClient ->getCategories ();
355355 $ this ->assertNotEmpty ($ items );
@@ -365,7 +365,7 @@ public function testGetCategories()
365365 }
366366 }
367367
368- public function testGetLoaders ()
368+ public function testGetLoaders (): void
369369 {
370370 $ items = $ this ->apiClient ->getLoaders ();
371371 $ this ->assertNotEmpty ($ items );
@@ -381,7 +381,7 @@ public function testGetLoaders()
381381 }
382382 }
383383
384- public function testGetGameVersions ()
384+ public function testGetGameVersions (): void
385385 {
386386 $ gameVersions = $ this ->apiClient ->getGameVersions ();
387387 $ this ->assertNotEmpty ($ gameVersions );
@@ -401,7 +401,7 @@ public function testGetGameVersions()
401401 }
402402 }
403403
404- public function testGetLicenses ()
404+ public function testGetLicenses (): void
405405 {
406406 $ items = $ this ->apiClient ->getLicenses ();
407407 $ this ->assertNotEmpty ($ items );
@@ -417,7 +417,7 @@ public function testGetLicenses()
417417 }
418418 }
419419
420- public function testGetDonationPlatforms ()
420+ public function testGetDonationPlatforms (): void
421421 {
422422 $ items = $ this ->apiClient ->getDonationPlatforms ();
423423 $ this ->assertNotEmpty ($ items );
@@ -427,7 +427,7 @@ public function testGetDonationPlatforms()
427427 }
428428 }
429429
430- public function testGetReportTypes ()
430+ public function testGetReportTypes (): void
431431 {
432432 $ items = $ this ->apiClient ->getReportTypes ();
433433 $ this ->assertNotEmpty ($ items );
0 commit comments