Skip to content

Commit 232410d

Browse files
authored
Merge pull request #1174 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-0f0982c56c033e0a05c272552a6fbf83-from-1.1.4-0f0982c56c033e0a05c272552a6fbf83
2 parents 6c7e2af + 6507ed0 commit 232410d

File tree

21 files changed

+55
-46
lines changed

21 files changed

+55
-46
lines changed

clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "7554ad7b532cd4af3a3f5eff505ec2bb",
2+
"specHash": "0f0982c56c033e0a05c272552a6fbf83",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5912,7 +5912,7 @@
59125912
},
59135913
{
59145914
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
5915-
"hash": "ca5bcb34719c45a81be4f4d758d1f65b"
5915+
"hash": "7e93b0c5ea7309cf8b053fe8a9c918cb"
59165916
},
59175917
{
59185918
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/SecretScanning.php",
@@ -5984,7 +5984,7 @@
59845984
},
59855985
{
59865986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
5987-
"hash": "ea53d5900ef20eeca40759702d1d7333"
5987+
"hash": "c53cb5495c2192be76316a8afee45c40"
59885988
},
59895989
{
59905990
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -18632,23 +18632,23 @@
1863218632
},
1863318633
{
1863418634
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/ListBranches.php",
18635-
"hash": "e00c8958cea31f0329f7506869b499a5"
18635+
"hash": "9407e2bd177a3835502b318f7dcde073"
1863618636
},
1863718637
{
1863818638
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListBranches.php",
18639-
"hash": "fb91886e92f607d6ae1c94401ea564e1"
18639+
"hash": "3d85b53e5e30ff34cfa4ac38a4bfeb55"
1864018640
},
1864118641
{
1864218642
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListBranchesTest.php",
1864318643
"hash": "f7faa2754e4db002cdda55b31f3c8692"
1864418644
},
1864518645
{
1864618646
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Repos\/ListBranchesListing.php",
18647-
"hash": "a6c8f0cad11b498abfac8e9909bc656f"
18647+
"hash": "bacb6dacf74755ac31d3390704932d04"
1864818648
},
1864918649
{
1865018650
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListBranchesListing.php",
18651-
"hash": "89227d9a2087aff731506c2505233f49"
18651+
"hash": "acd3a4f183231a0a30275b3b6fa73cd5"
1865218652
},
1865318653
{
1865418654
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListBranchesListingTest.php",
@@ -26172,7 +26172,7 @@
2617226172
},
2617326173
{
2617426174
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
26175-
"hash": "8b937dbc6e2b383be1e23513f5df3807"
26175+
"hash": "66aa83f0ebc8378a42d7b647b69135ab"
2617626176
},
2617726177
{
2617826178
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -26224,7 +26224,7 @@
2622426224
},
2622526225
{
2622626226
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/CodeScanning.php",
26227-
"hash": "ab6dff683c1860c6ac46b2d98da140f0"
26227+
"hash": "1b6754582b6e3e5946c558713bdf6e36"
2622826228
},
2622926229
{
2623026230
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Dependabot.php",
@@ -26316,7 +26316,7 @@
2631626316
},
2631726317
{
2631826318
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/CodeScanning.php",
26319-
"hash": "177f22959813d8d70fa8708c2461a538"
26319+
"hash": "a233d6e2129a71322a54b4ce8f5954c8"
2632026320
},
2632126321
{
2632226322
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/DependencyGraph.php",
@@ -26484,7 +26484,7 @@
2648426484
},
2648526485
{
2648626486
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Repos.php",
26487-
"hash": "c5558dce469c072e2a90be41c96ed8db"
26487+
"hash": "13661420c6baf8b90ee5c91b3604f5e7"
2648826488
},
2648926489
{
2649026490
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Activity.php",
@@ -26724,7 +26724,7 @@
2672426724
},
2672526725
{
2672626726
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
26727-
"hash": "0a3bd1955d6e93219dba943e6d14cdbd"
26727+
"hash": "d0dbfdf787ddd85b68428e3e3db6096b"
2672826728
},
2672926729
{
2673026730
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
@@ -26736,7 +26736,7 @@
2673626736
},
2673726737
{
2673826738
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eight.php",
26739-
"hash": "269731f2934ba43f1df93afe2245c956"
26739+
"hash": "710927ca5a60788ee53d7b42a98e72a3"
2674026740
},
2674126741
{
2674226742
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Nine.php",
@@ -26760,7 +26760,7 @@
2676026760
},
2676126761
{
2676226762
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php",
26763-
"hash": "5e369199823ee3742cdf6693f529a264"
26763+
"hash": "5d1f49d1e9b37859dec0366fa1ee3d1d"
2676426764
},
2676526765
{
2676626766
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Two.php",
@@ -26824,7 +26824,7 @@
2682426824
},
2682526825
{
2682626826
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php",
26827-
"hash": "dc880ef38a537e30963c81bc90d8075f"
26827+
"hash": "bfb2dde299299c562025dac6fdbbe8b3"
2682826828
},
2682926829
{
2683026830
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Two.php",
@@ -29952,11 +29952,11 @@
2995229952
},
2995329953
{
2995429954
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
29955-
"hash": "28b7950d528dba797c76e0f4053bc3db"
29955+
"hash": "ae6d94617c331a3a80de620b3e499c41"
2995629956
},
2995729957
{
2995829958
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29959-
"hash": "eeef3ace70329749c797479b75d25868"
29959+
"hash": "736792e4cc5e0762ea11d71eb13ae070"
2996029960
},
2996129961
{
2996229962
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -31780,7 +31780,7 @@
3178031780
},
3178131781
{
3178231782
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/CodeScanning\/CreateVariantAnalysis.php",
31783-
"hash": "1b6752a0a40a23539ce7e1d8eace261f"
31783+
"hash": "024ab86659eaacbefee3113982977d95"
3178431784
},
3178531785
{
3178631786
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeScanning\/CreateVariantAnalysisTest.php",
@@ -31792,7 +31792,7 @@
3179231792
},
3179331793
{
3179431794
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/CodeScanning\/GetVariantAnalysis.php",
31795-
"hash": "3347fee1d8c1e1b077060269d452ac71"
31795+
"hash": "fc94b6743fd92335d0f4a1d937211621"
3179631796
},
3179731797
{
3179831798
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeScanning\/GetVariantAnalysisTest.php",
@@ -31804,7 +31804,7 @@
3180431804
},
3180531805
{
3180631806
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/CodeScanning\/GetVariantAnalysisRepoTask.php",
31807-
"hash": "1ef45c0c44a787c95937ec6a7dd5308b"
31807+
"hash": "c5ace077d3819488e6d06fa810c97380"
3180831808
},
3180931809
{
3181031810
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeScanning\/GetVariantAnalysisRepoTaskTest.php",
@@ -31852,7 +31852,7 @@
3185231852
},
3185331853
{
3185431854
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Eleven.php",
31855-
"hash": "d61f3e561d76e241137773359390f539"
31855+
"hash": "4af0e782a98e3fab736cd08d30bee060"
3185631856
},
3185731857
{
3185831858
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Codeql\/VariantAnalyses.php",

clients/GitHubEnterpriseCloud/src/Internal/Operation/Repos/ListBranches.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class ListBranches
2929
private string $owner;
3030
/**The name of the repository without the `.git` extension. The name is not case sensitive. **/
3131
private string $repo;
32-
/**Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
32+
/**Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
3333
private bool $protected;
3434
/**The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
3535
private int $perPage;

clients/GitHubEnterpriseCloud/src/Internal/Operation/Repos/ListBranchesListing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class ListBranchesListing
2929
private string $owner;
3030
/**The name of the repository without the `.git` extension. The name is not case sensitive. **/
3131
private string $repo;
32-
/**Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
32+
/**Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. **/
3333
private bool $protected;
3434
/**The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
3535
private int $perPage;

clients/GitHubEnterpriseCloud/src/Internal/Operator/CodeScanning/CreateVariantAnalysis.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, array $params): CodeScanningVariantAnalysis
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\CodeScanning\CreateVariantAnalysis($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo);

clients/GitHubEnterpriseCloud/src/Internal/Operator/CodeScanning/GetVariantAnalysis.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, int $codeqlVariantAnalysisId): CodeScanningVariantAnalysis
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\CodeScanning\GetVariantAnalysis($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $codeqlVariantAnalysisId);

clients/GitHubEnterpriseCloud/src/Internal/Operator/CodeScanning/GetVariantAnalysisRepoTask.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $owner, string $repo, int $codeqlVariantAnalysisId, string $repoOwner, string $repoName): CodeScanningVariantAnalysisRepoTask
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\CodeScanning\GetVariantAnalysisRepoTask($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $codeqlVariantAnalysisId, $repoOwner, $repoName);

clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListBranches.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ShortBranch> */
27+
/** @return iterable<int,Schema\ShortBranch> */
2828
public function call(string $owner, string $repo, bool $protected, int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\ListBranches($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $protected, $perPage, $page);

clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/ListBranchesListing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27-
/** @return Observable<Schema\ShortBranch> */
27+
/** @return iterable<int,Schema\ShortBranch> */
2828
public function call(string $owner, string $repo, bool $protected, int $perPage = 30, int $page = 1): iterable
2929
{
3030
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\ListBranchesListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $protected, $perPage, $page);

clients/GitHubEnterpriseCloud/src/Internal/Router/Get/CodeScanning.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ public function getCodeqlDatabase(array $params): CodeScanningCodeqlDatabase|Wit
510510
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['language']);
511511
}
512512

513+
/** @return */
513514
public function getVariantAnalysis(array $params): CodeScanningVariantAnalysis
514515
{
515516
$arguments = [];
@@ -536,6 +537,7 @@ public function getVariantAnalysis(array $params): CodeScanningVariantAnalysis
536537
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['codeql_variant_analysis_id']);
537538
}
538539

540+
/** @return */
539541
public function getVariantAnalysisRepoTask(array $params): CodeScanningVariantAnalysisRepoTask
540542
{
541543
$arguments = [];

clients/GitHubEnterpriseCloud/src/Internal/Router/Get/Eight.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(private Routers $routers)
3535
{
3636
}
3737

38-
/** @return |Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\EnvironmentApprovals>|Observable<Schema\PendingDeployment>|Observable<Schema\CodeScanningAlertInstance>|Schema\CodeScanningVariantAnalysis|Observable<Schema\SecretScanningLocation>|WithoutBody */
38+
/** @return |Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\EnvironmentApprovals>|Observable<Schema\PendingDeployment>|Observable<Schema\CodeScanningAlertInstance>|Observable<Schema\SecretScanningLocation>|WithoutBody */
3939
public function call(string $call, array $params, array $pathChunks): PackageVersion|iterable|TeamRepository|WithoutBody|OidcCustomSubRepo|Ok|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListJobsForWorkflowRun\Response\ApplicationJson\Ok\Application\Json|WorkflowRunUsage|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListWorkflowRuns\Response\ApplicationJson\Ok\Application\Json|WorkflowUsage|ProtectedBranchAdminEnforced|ProtectedBranchPullRequestReview|StatusCheckPolicy|BranchRestrictionPolicy|CodeScanningCodeqlDatabase|CodeScanningVariantAnalysis|DeploymentStatus|DeploymentBranchPolicy|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\ListCustomDeploymentRuleIntegrations\Response\ApplicationJson\Ok|DeploymentProtectionRule|ActionsPublicKey|ActionsSecret|ActionsVariable|HookDelivery|PullRequestReview
4040
{
4141
if ($pathChunks[0] === '') {

0 commit comments

Comments
 (0)