Skip to content

Commit 3244fa4

Browse files
authored
Merge pull request #1232 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-01b3a10116bf0a1ac4be25bb7b236bf7-from-1.1.4-01b3a10116bf0a1ac4be25bb7b236bf7
2 parents 0a6c067 + 0f433a1 commit 3244fa4

File tree

12 files changed

+26
-19
lines changed

12 files changed

+26
-19
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "a9a79e364b853c47d43f74efabc55fe4",
2+
"specHash": "01b3a10116bf0a1ac4be25bb7b236bf7",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5980,7 +5980,7 @@
59805980
},
59815981
{
59825982
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
5983-
"hash": "5b5f19b3c039398b0a5622bd76a37f7f"
5983+
"hash": "4f3071168359ed0a3ef18f2fae801b7e"
59845984
},
59855985
{
59865986
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -18540,7 +18540,7 @@
1854018540
},
1854118541
{
1854218542
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/CheckAutomatedSecurityFixes.php",
18543-
"hash": "860fb6312909e0a99434b82421262ca6"
18543+
"hash": "fc0bb88c9ed5537e68c448e23541ae85"
1854418544
},
1854518545
{
1854618546
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/CheckAutomatedSecurityFixesTest.php",
@@ -26104,7 +26104,7 @@
2610426104
},
2610526105
{
2610626106
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
26107-
"hash": "71c3f0d7eb9950e64ba78b7dea9c28bd"
26107+
"hash": "0c373aa912b020d5fcbb54c060aff63b"
2610826108
},
2610926109
{
2611026110
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Users.php",
@@ -26656,7 +26656,7 @@
2665626656
},
2665726657
{
2665826658
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
26659-
"hash": "dbaa988cd9f5e2e6c27c250b8a97abea"
26659+
"hash": "e4ece915c3acb049dcaeb3656b2fcd3c"
2666026660
},
2666126661
{
2666226662
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
@@ -26796,7 +26796,7 @@
2679626796
},
2679726797
{
2679826798
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php",
26799-
"hash": "b4412ecd1e12199e999030fd32b8cadb"
26799+
"hash": "043862d61eb9ae45dbc140a1ce4cdb62"
2680026800
},
2680126801
{
2680226802
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Eight.php",
@@ -29872,11 +29872,11 @@
2987229872
},
2987329873
{
2987429874
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
29875-
"hash": "c3ffa66ddb514fb2471b37b74c438116"
29875+
"hash": "49546035c0a7670ec430f965eafae199"
2987629876
},
2987729877
{
2987829878
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
29879-
"hash": "e7d4d37a03cc854e085980121cd43a4d"
29879+
"hash": "040c8ce72f7c03b1243c63c2b5fa4b6f"
2988029880
},
2988129881
{
2988229882
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -32160,15 +32160,15 @@
3216032160
},
3216132161
{
3216232162
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/CodeSecurity.php",
32163-
"hash": "5ecabdbfe502463d6759ef56c4ca3b6f"
32163+
"hash": "f07878f5d3d22ca65580699078f0e16e"
3216432164
},
3216532165
{
3216632166
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/CodeSecurity.php",
3216732167
"hash": "8afdb5651e457b79c7559ac05efb1a3a"
3216832168
},
3216932169
{
3217032170
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/CodeSecurity.php",
32171-
"hash": "505f359429cf9e06b99e23994acf0466"
32171+
"hash": "0e461717d44ef16ea952e30ea30466e8"
3217232172
},
3217332173
{
3217432174
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php",
@@ -32604,7 +32604,7 @@
3260432604
},
3260532605
{
3260632606
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/CodeSecurity\/DetachConfiguration.php",
32607-
"hash": "29d92ebee0d04a8fdeff42aec5f48d44"
32607+
"hash": "e265e137d0decec7db13816e8acabd83"
3260832608
},
3260932609
{
3261032610
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/CodeSecurity\/DetachConfigurationTest.php",

clients/GitHubEnterpriseCloud/src/Internal/Operator/CodeSecurity/DetachConfiguration.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 $org, array $params): WithoutBody
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\CodeSecurity\DetachConfiguration($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org);

clients/GitHubEnterpriseCloud/src/Internal/Operator/Repos/CheckAutomatedSecurityFixes.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): \ApiClients\Client\GitHubEnterpriseCloud\Schema\CheckAutomatedSecurityFixes|WithoutBody
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterpriseCloud\Internal\Operation\Repos\CheckAutomatedSecurityFixes($this->responseSchemaValidator, $this->hydrator, $owner, $repo);

clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/CodeSecurity.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function __construct(private SchemaValidator $requestSchemaValidator, pri
1919
{
2020
}
2121

22+
/** @return */
2223
public function detachConfiguration(array $params): WithoutBody
2324
{
2425
$arguments = [];

clients/GitHubEnterpriseCloud/src/Internal/Router/Delete/Six.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public function __construct(private Routers $routers)
1818
{
1919
}
2020

21-
/** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */
2221
public function call(string $call, array $params, array $pathChunks): WithoutBody|Ok|Json|ActionsCacheList|FileCommit
2322
{
2423
if ($pathChunks[0] === '') {

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

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

57-
/** @return |Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\CodeSecurityConfiguration>|Observable<Schema\Package>|Observable<Schema\OrgCustomProperty>|Observable<Schema\OrgRepoCustomPropertyValues>|Observable<Schema\RuleSuites>|Observable<Schema\ProjectCard>|Observable<Schema\Activity>|Observable<Schema\SimpleUser>|Observable<Schema\Autolink>|Schema\CheckAutomatedSecurityFixes|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|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> */
57+
/** @return |Observable<Schema\CodeScanningOrganizationAlertItems>|Observable<Schema\CopilotUsageMetrics>|Observable<Schema\DependabotAlertWithRepository>|WithoutBody|Observable<Schema\OrganizationSecretScanningAlert>|Observable<Schema\MarketplacePurchase>|Observable<Schema\Event>|Schema\BasicError|Observable<Schema\CodeSecurityConfiguration>|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> */
5858
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\Orgs\ListAttestations\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|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Users\ListAttestations\Response\ApplicationJson\Ok|EmptyObject
5959
{
6060
if ($pathChunks[0] === '') {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ public function listAutolinks(array $params): iterable
465465
return $operator->call($arguments['owner'], $arguments['repo']);
466466
}
467467

468+
/** @return */
468469
public function checkAutomatedSecurityFixes(array $params): CheckAutomatedSecurityFixes|WithoutBody
469470
{
470471
$arguments = [];

clients/GitHubEnterpriseCloud/src/Operation/CodeSecurity.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function getDefaultConfigurations(string $org): iterable|WithoutBody
3535
return $this->operators->codeSecurity👷GetDefaultConfigurations()->call($org);
3636
}
3737

38+
/** @return */
3839
public function detachConfiguration(string $org, array $params): WithoutBody
3940
{
4041
return $this->operators->codeSecurity👷DetachConfiguration()->call($org, $params);

clients/GitHubEnterpriseCloud/src/Operation/Repos.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ public function deleteAutolink(string $owner, string $repo, int $autolinkId): Wi
203203
return $this->operators->repos👷DeleteAutolink()->call($owner, $repo, $autolinkId);
204204
}
205205

206+
/** @return */
206207
public function checkAutomatedSecurityFixes(string $owner, string $repo): CheckAutomatedSecurityFixes|WithoutBody
207208
{
208209
return $this->operators->repos👷CheckAutomatedSecurityFixes()->call($owner, $repo);

clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
10001000
}
10011001

10021002
if ($call === 'DELETE /orgs/{org}/code-security/configurations/detach') {
1003-
return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
1003+
return $this->typeResolver->resolve('');
10041004
}
10051005

10061006
if ($call === 'GET /orgs/{org}/code-security/configurations/{configuration_id}') {
@@ -2396,7 +2396,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
23962396
}
23972397

23982398
if ($call === 'GET /repos/{owner}/{repo}/automated-security-fixes') {
2399-
return $this->typeResolver->resolve('Schema\\CheckAutomatedSecurityFixes|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
2399+
return $this->typeResolver->resolve('');
24002400
}
24012401

24022402
if ($call === 'PUT /repos/{owner}/{repo}/automated-security-fixes') {

0 commit comments

Comments
 (0)