Passed
Push — master ( fb811f...d0c6aa )
by Eric
01:49
created
src/LibrariesIO.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -373,29 +373,29 @@
 block discarded – undo
373 373
     public function endpointParameters(string $endpoint, string $subset): array
374 374
     {
375 375
         static $projectParameters = [
376
-            'contributors'           => ['format' => ':platform/:name/contributors'          , 'options' => ['platform', 'name']],
377
-            'dependencies'           => ['format' => ':platform/:name/:version/dependencies' , 'options' => ['platform', 'name', 'version']],
376
+            'contributors'           => ['format' => ':platform/:name/contributors', 'options' => ['platform', 'name']],
377
+            'dependencies'           => ['format' => ':platform/:name/:version/dependencies', 'options' => ['platform', 'name', 'version']],
378 378
             'dependent_repositories' => ['format' => ':platform/:name/dependent_repositories', 'options' => ['platform', 'name']],
379
-            'dependents'             => ['format' => ':platform/:name/dependents'            , 'options' => ['platform', 'name']],
380
-            'search'                 => ['format' => 'search'                                , 'options' => ['query', 'sort']],
381
-            'sourcerank'             => ['format' => ':platform/:name/sourcerank'            , 'options' => ['platform', 'name']],
382
-            'project'                => ['format' => ':platform/:name'                       , 'options' => ['platform', 'name']]
379
+            'dependents'             => ['format' => ':platform/:name/dependents', 'options' => ['platform', 'name']],
380
+            'search'                 => ['format' => 'search', 'options' => ['query', 'sort']],
381
+            'sourcerank'             => ['format' => ':platform/:name/sourcerank', 'options' => ['platform', 'name']],
382
+            'project'                => ['format' => ':platform/:name', 'options' => ['platform', 'name']]
383 383
         ];
384 384
 
385 385
         static $repositoryParameters = [
386 386
             'dependencies' => ['format' => 'github/:owner/:name/dependencies', 'options' => ['owner', 'name']],
387
-            'projects'     => ['format' => 'github/:owner/:name/projects'    , 'options' => ['owner', 'name']],
388
-            'repository'   => ['format' => 'github/:owner/:name'             , 'options' => ['owner', 'name']]
387
+            'projects'     => ['format' => 'github/:owner/:name/projects', 'options' => ['owner', 'name']],
388
+            'repository'   => ['format' => 'github/:owner/:name', 'options' => ['owner', 'name']]
389 389
         ];
390 390
 
391 391
         static $userParameters = [
392
-            'dependencies'             => ['format' => 'github/:login/dependencies'            , 'options' => ['login']],
393
-            'package_contributions'    => ['format' => 'github/:login/project-contributions'   , 'options' => ['login']],
394
-            'packages'                 => ['format' => 'github/:login/projects'                , 'options' => ['login']],
395
-            'repositories'             => ['format' => 'github/:login/repositories'            , 'options' => ['login']],
392
+            'dependencies'             => ['format' => 'github/:login/dependencies', 'options' => ['login']],
393
+            'package_contributions'    => ['format' => 'github/:login/project-contributions', 'options' => ['login']],
394
+            'packages'                 => ['format' => 'github/:login/projects', 'options' => ['login']],
395
+            'repositories'             => ['format' => 'github/:login/repositories', 'options' => ['login']],
396 396
             'repository_contributions' => ['format' => 'github/:login/repository-contributions', 'options' => ['login']],
397
-            'subscriptions'            => ['format' => 'subscriptions'                         , 'options' => []],
398
-            'user'                     => ['format' => 'github/:login'                         , 'options' => ['login']]
397
+            'subscriptions'            => ['format' => 'subscriptions', 'options' => []],
398
+            'user'                     => ['format' => 'github/:login', 'options' => ['login']]
399 399
         ];
400 400
 
401 401
         return match($endpoint) {
Please login to merge, or discard this patch.