Skip to content

Commit a7a19ad

Browse files
authored
Merge pull request #1176 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-1e75d6425ed4e4aae7d5a75047e1095c-from-1.1.4-1e75d6425ed4e4aae7d5a75047e1095c
2 parents 0051f5c + 02d5e53 commit a7a19ad

File tree

16 files changed

+69
-72
lines changed

16 files changed

+69
-72
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "0f0982c56c033e0a05c272552a6fbf83",
2+
"specHash": "1e75d6425ed4e4aae7d5a75047e1095c",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5912,7 +5912,7 @@
59125912
},
59135913
{
59145914
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
5915-
"hash": "7e93b0c5ea7309cf8b053fe8a9c918cb"
5915+
"hash": "f08caf827c17c05537bcd2ceac1ffbdb"
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": "c53cb5495c2192be76316a8afee45c40"
5987+
"hash": "45b5ecd6f7e191ea93d6a89563cd57bf"
59885988
},
59895989
{
59905990
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -6008,7 +6008,7 @@
60086008
},
60096009
{
60106010
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Pulls.php",
6011-
"hash": "e28481d1ae839ea433eae30e279e3692"
6011+
"hash": "195c50db109fb94083e2cc1d7d0903a1"
60126012
},
60136013
{
60146014
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
@@ -18636,7 +18636,7 @@
1863618636
},
1863718637
{
1863818638
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListBranches.php",
18639-
"hash": "3d85b53e5e30ff34cfa4ac38a4bfeb55"
18639+
"hash": "fb91886e92f607d6ae1c94401ea564e1"
1864018640
},
1864118641
{
1864218642
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListBranchesTest.php",
@@ -18648,7 +18648,7 @@
1864818648
},
1864918649
{
1865018650
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/ListBranchesListing.php",
18651-
"hash": "acd3a4f183231a0a30275b3b6fa73cd5"
18651+
"hash": "89227d9a2087aff731506c2505233f49"
1865218652
},
1865318653
{
1865418654
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/ListBranchesListingTest.php",
@@ -22028,11 +22028,11 @@
2202822028
},
2202922029
{
2203022030
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Pulls\/Get.php",
22031-
"hash": "3dc6e45f7612d313c424fcbee4392304"
22031+
"hash": "3a32ac1a6d3963676bce417adc292a4a"
2203222032
},
2203322033
{
2203422034
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Pulls\/Get.php",
22035-
"hash": "3cf2d689f271c48968cfa819c67655d7"
22035+
"hash": "e2b45b79358b41962e580a172359cde7"
2203622036
},
2203722037
{
2203822038
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Pulls\/GetTest.php",
@@ -26172,7 +26172,7 @@
2617226172
},
2617326173
{
2617426174
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
26175-
"hash": "66aa83f0ebc8378a42d7b647b69135ab"
26175+
"hash": "8b937dbc6e2b383be1e23513f5df3807"
2617626176
},
2617726177
{
2617826178
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -26240,7 +26240,7 @@
2624026240
},
2624126241
{
2624226242
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Pulls.php",
26243-
"hash": "02b07d628ac64e573f60f753c10960dd"
26243+
"hash": "99d6a711d7f91b5c5b286d72e3ea828c"
2624426244
},
2624526245
{
2624626246
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Billing.php",
@@ -26484,7 +26484,7 @@
2648426484
},
2648526485
{
2648626486
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Repos.php",
26487-
"hash": "13661420c6baf8b90ee5c91b3604f5e7"
26487+
"hash": "c5558dce469c072e2a90be41c96ed8db"
2648826488
},
2648926489
{
2649026490
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Activity.php",
@@ -26724,11 +26724,11 @@
2672426724
},
2672526725
{
2672626726
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
26727-
"hash": "d0dbfdf787ddd85b68428e3e3db6096b"
26727+
"hash": "0a3bd1955d6e93219dba943e6d14cdbd"
2672826728
},
2672926729
{
2673026730
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26731-
"hash": "28c7d64a38f9ae61536e5ff3af0ea112"
26731+
"hash": "1cef6ff39abe5e8e2b67bf2e0e259b54"
2673226732
},
2673326733
{
2673426734
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -26824,7 +26824,7 @@
2682426824
},
2682526825
{
2682626826
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php",
26827-
"hash": "bfb2dde299299c562025dac6fdbbe8b3"
26827+
"hash": "dc880ef38a537e30963c81bc90d8075f"
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": "ae6d94617c331a3a80de620b3e499c41"
29955+
"hash": "60a4ffcd33ebdd26952492229d3c5366"
2995629956
},
2995729957
{
2995829958
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29959-
"hash": "736792e4cc5e0762ea11d71eb13ae070"
29959+
"hash": "2761e873802b9bc95ac726085f88df59"
2996029960
},
2996129961
{
2996229962
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",

clients/GitHubEnterpriseCloud/src/Internal/Operation/Pulls/Get.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function createResponse(ResponseInterface $response): Schema\PullRequest|
5151
$body = json_decode($response->getBody()->getContents(), true);
5252
switch ($code) {
5353
/**
54-
* Pass the appropriate [media type](https://docs.github.com/enterprise-cloud@latest//rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
54+
* Pass the appropriate [media type](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.
5555
**/
5656
case 200:
5757
$this->responseSchemaValidator->validate($body, Reader::readFromJson(Schema\PullRequest::SCHEMA_JSON, \cebe\openapi\spec\Schema::class));

clients/GitHubEnterpriseCloud/src/Internal/Operator/Pulls/Get.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28-
/** @return */
2928
public function call(string $owner, string $repo, int $pullNumber): PullRequest|WithoutBody
3029
{
3130
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Pulls\Get($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $pullNumber);

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 iterable<int,Schema\ShortBranch> */
27+
/** @return Observable<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 iterable<int,Schema\ShortBranch> */
27+
/** @return Observable<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/Five.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct(private Routers $routers)
5353
{
5454
}
5555

56-
/** @return |Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\Package>|Observable<Schema\OrgCustomProperty>|Observable<Schema\OrgRepoCustomPropertyValues>|Observable<Schema\RuleSuites>|Observable<Schema\ProjectCard>|Observable<Schema\Activity>|Observable<Schema\SimpleUser>|Observable<Schema\Autolink>|iterable<int,Schema\ShortBranch>|Observable<Schema\Collaborator>|Observable<Schema\CommitComment>|Observable<Schema\Commit>|Observable<Schema\Contributor>|Observable<Schema\Deployment>|Observable<Schema\MinimalRepository>|Observable<Schema\Hook>|Observable<Schema\RepositoryInvitation>|Observable<Schema\Issue>|Observable<Schema\DeployKey>|Observable<Schema\Label>|Observable<Schema\Milestone>|Observable<Schema\Thread>|Observable<Schema\Project>|Observable<Schema\PullRequestSimple>|Observable<Schema\Release>|Observable<Schema\RepositoryRuleset>|Observable<Schema\RepositoryAdvisory>|Observable<Schema\Tag>|Observable<Schema\Team> */
56+
/** @return |Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\Package>|Observable<Schema\OrgCustomProperty>|Observable<Schema\OrgRepoCustomPropertyValues>|Observable<Schema\RuleSuites>|Observable<Schema\ProjectCard>|Observable<Schema\Activity>|Observable<Schema\SimpleUser>|Observable<Schema\Autolink>|Observable<Schema\ShortBranch>|Observable<Schema\Collaborator>|Observable<Schema\CommitComment>|Observable<Schema\Commit>|Observable<Schema\Contributor>|Observable<Schema\Deployment>|Observable<Schema\MinimalRepository>|Observable<Schema\Hook>|Observable<Schema\RepositoryInvitation>|Observable<Schema\Issue>|Observable<Schema\DeployKey>|Observable<Schema\Label>|Observable<Schema\Milestone>|Observable<Schema\Thread>|Observable<Schema\Project>|Observable<Schema\PullRequestSimple>|Observable<Schema\Release>|Observable<Schema\RepositoryRuleset>|Observable<Schema\RepositoryAdvisory>|Observable<Schema\Tag>|Observable<Schema\Team> */
5757
public function call(string $call, array $params, array $pathChunks): HookDelivery|ActionsEnterprisePermissions|Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|iterable|WithoutBody|GistComment|MarketplacePurchase|BasicError|ThreadSubscription|ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\ListOrgSecrets\Response\ApplicationJson\Ok|CopilotOrganizationDetails|OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|ExternalGroup|OrgHook|OrgMembership|Migration|OrganizationRole|RepositoryRuleset|GroupMapping|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Import|Installation|InteractionLimitResponse|One|Language|LicenseContent|Page|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CheckPrivateVulnerabilityReporting\Response\ApplicationJson\Ok|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|CodespacesUserPublicKey|CodespacesSecret|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Codespaces\CodespaceMachinesForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package
5858
{
5959
if ($pathChunks[0] === '') {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ public function listReviewCommentsForRepo(array $params): iterable
138138
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['sort'], $arguments['direction'], $arguments['since'], $arguments['per_page'], $arguments['page']);
139139
}
140140

141-
/** @return */
142141
public function get(array $params): PullRequest|WithoutBody
143142
{
144143
$arguments = [];

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ public function checkAutomatedSecurityFixes(array $params): CheckAutomatedSecuri
486486
return $operator->call($arguments['owner'], $arguments['repo']);
487487
}
488488

489-
/** @return iterable<int,Schema\ShortBranch> */
489+
/** @return Observable<Schema\ShortBranch> */
490490
public function listBranches(array $params): iterable
491491
{
492492
$arguments = [];

0 commit comments

Comments
 (0)