Skip to content

Commit 2cbfb89

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHubEnterpriseCloud] Update to 1.1.4-85efe1c3a31046a555d291a7d871e343 from 1.1.4-a7adbe76e1c25b7f4ce737f85d3021f1
Detected Schema changes: starting work. Building original model for commit f6f15b 2024-03-20 17:29:57 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-actions.yaml └ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory 2024-03-20 17:29:57 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory 2024-03-20 17:30:00 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-actions.yaml └ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory 2024-03-20 17:30:00 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory SPEC: extracted 1 commits from history DONE: completed WARNING: warnings reported during processing ⚠️ Error thrown when comparing: component 'server-statistics-actions.yaml' does not exist in the specification
1 parent e8515c1 commit 2cbfb89

File tree

22 files changed

+603
-193
lines changed

22 files changed

+603
-193
lines changed

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "a7adbe76e1c25b7f4ce737f85d3021f1",
2+
"specHash": "85efe1c3a31046a555d291a7d871e343",
33
"generatedFiles": {
44
"files": [
55
{
@@ -312,7 +312,7 @@
312312
},
313313
{
314314
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseSecurityAnalysisSettings.php",
315-
"hash": "c8546a4df1d09803a1dc26fa800607aa"
315+
"hash": "fa55f13a444ba977099d0bfd3158c1d8"
316316
},
317317
{
318318
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GetConsumedLicenses.php",
@@ -1456,7 +1456,7 @@
14561456
},
14571457
{
14581458
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningLocation.php",
1459-
"hash": "e9b4373cbf73f110e892dea93b02c9fe"
1459+
"hash": "e1ed8e834cd613b3ed198f8940a56b8c"
14601460
},
14611461
{
14621462
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecurityAdvisoryEcosystems.php",
@@ -2452,7 +2452,7 @@
24522452
},
24532453
{
24542454
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryDispatchSample.php",
2455-
"hash": "7db9d77e3da884f39bb737e430f72c37"
2455+
"hash": "ede0eaae9bf60d71ecdf4c52db32d1c5"
24562456
},
24572457
{
24582458
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryEdited.php",
@@ -2504,7 +2504,7 @@
25042504
},
25052505
{
25062506
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreated.php",
2507-
"hash": "f5e711ce5e62b3c3d7052c3f8bafec55"
2507+
"hash": "da91ecc0a28aaba7da2554ebe704536e"
25082508
},
25092509
{
25102510
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookSecretScanningAlertLocationCreatedFormEncoded.php",
@@ -4556,7 +4556,7 @@
45564556
},
45574557
{
45584558
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryDispatchSample\/ClientPayload.php",
4559-
"hash": "718a40337cd3b63aa879bc0a849a3b0f"
4559+
"hash": "9b41e7f696e2b3275a8a7b55448ad95b"
45604560
},
45614561
{
45624562
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryEdited\/Changes.php",
@@ -4860,7 +4860,7 @@
48604860
},
48614861
{
48624862
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanning\/PatchSecurityAnalysisSettingsForEnterprise\/Request\/ApplicationJson.php",
4863-
"hash": "e5e60da68ff799b2206c0ae51a4e99d7"
4863+
"hash": "fc1620d76f89a015cdd02276edc22ff2"
48644864
},
48654865
{
48664866
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Gists\/Create\/Request\/ApplicationJson.php",
@@ -6088,7 +6088,7 @@
60886088
},
60896089
{
60906090
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Actions.php",
6091-
"hash": "cb0c5fcc0e188ac40708ba85f91a5471"
6091+
"hash": "1a8b3a499a1d8181b6d80fd6a019cf1e"
60926092
},
60936093
{
60946094
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/AnnouncementBanners.php",
@@ -6168,7 +6168,7 @@
61686168
},
61696169
{
61706170
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Repos.php",
6171-
"hash": "ba22e713eb46c51c4219d47eb577721d"
6171+
"hash": "9f83d7bad2b42b8ed0eadb30ffe07b73"
61726172
},
61736173
{
61746174
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -12902,13 +12902,9 @@
1290212902
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookReleaseUnpublished\/Release\/Assets.php",
1290312903
"hash": "142d781b67efb6f0933ad11e042105f2"
1290412904
},
12905-
{
12906-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet76B5D9AD\/Tiet3F1D0B82\/Tiet9290F302\/Tiet5AB2627C.php",
12907-
"hash": "c2a2b5068e08d491d85e1e9a119d9eab"
12908-
},
1290912905
{
1291012906
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookWorkflowDispatch\/Inputs.php",
12911-
"hash": "a383bb0779e489bb1c7181e1f60397dc"
12907+
"hash": "3ecc0ffa648c353f31cb2a4d30557576"
1291212908
},
1291312909
{
1291412910
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet1CF91DE0\/Tiet4DB5DE15\/Tiet56410125\/Tiet72117C37.php",
@@ -22008,7 +22004,7 @@
2200822004
},
2200922005
{
2201022006
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/CreateDispatchEvent.php",
22011-
"hash": "b11e0af635b08c5b3b9e9def8e417b02"
22007+
"hash": "454300b97218079a6b01d1dbebdae734"
2201222008
},
2201322009
{
2201422010
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/CreateDispatchEventTest.php",
@@ -27844,7 +27840,7 @@
2784427840
},
2784527841
{
2784627842
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/SecretScanningLocation\/Details.php",
27847-
"hash": "ac4ca9ff123efec91986828772978ae4"
27843+
"hash": "75a2c9972d919ee77679880ff5d5b8a0"
2784827844
},
2784927845
{
2785027846
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookBranchProtectionConfigurationDisabled.php",
@@ -28104,7 +28100,7 @@
2810428100
},
2810528101
{
2810628102
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Repos.php",
28107-
"hash": "c846fad60677a5c415d217f658d8ef2d"
28103+
"hash": "800127e79acbd6f06bbc9755d0c98a95"
2810828104
},
2810928105
{
2811028106
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Teams.php",
@@ -28568,7 +28564,7 @@
2856828564
},
2856928565
{
2857028566
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Five.php",
28571-
"hash": "f3facaa17883a5c20b1219ae5558633c"
28567+
"hash": "e0dd9392090644b3b937fb490984a237"
2857228568
},
2857328569
{
2857428570
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Post\/Seven.php",
@@ -28896,7 +28892,7 @@
2889628892
},
2889728893
{
2889828894
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/CodeSecurityAndAnalysis.php",
28899-
"hash": "553bde9222acb7049670e5552462293d"
28895+
"hash": "903dba0b24ce2b6b08cc09b05dedb1c6"
2890028896
},
2890128897
{
2890228898
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Dependabot\/Alerts.php",
@@ -31764,11 +31760,11 @@
3176431760
},
3176531761
{
3176631762
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
31767-
"hash": "cba84edf0e3bd80f4ee50abe5b18a1cc"
31763+
"hash": "07dce6d993e8e758f65263e14189a184"
3176831764
},
3176931765
{
3177031766
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
31771-
"hash": "c0e4e895958494d9ac01794a9547fda2"
31767+
"hash": "c5cad5bf2eb60abf904c718fa610bce3"
3177231768
},
3177331769
{
3177431770
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -32296,7 +32292,7 @@
3229632292
},
3229732293
{
3229832294
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/SecretScanningAlertLocation.php",
32299-
"hash": "d15b28958966e433877a35c10e582d90"
32295+
"hash": "5a37b77931324fb74f0eb5032bbb2e46"
3230032296
},
3230132297
{
3230232298
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/SecurityAdvisory.php",
@@ -32754,10 +32750,6 @@
3275432750
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Copilot\/AddCopilotSeatsForUsers\/Request\/ApplicationJson.php",
3275532751
"hash": "c61a9f11689aee05146288d1e26c701f"
3275632752
},
32757-
{
32758-
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsThresholds.php",
32759-
"hash": "c2b98750a7323fd2bf410309648853a8"
32760-
},
3276132753
{
3276232754
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Environments\/EnvironmentName\/Secrets.php",
3276332755
"hash": "ae445dee0eefbc05f35628c5f08f6e6d"
@@ -32829,6 +32821,14 @@
3282932821
{
3283032822
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet59467073\/Tiet58CE2E2F\/Tiet6601455F\/TietF3A22DF2.php",
3283132823
"hash": "df64d17f0332bbb2a4d86ab748cf2cd5"
32824+
},
32825+
{
32826+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsCodeScanningThreshold.php",
32827+
"hash": "8b2f4dee6bc6ceac57d0e7aba2383deb"
32828+
},
32829+
{
32830+
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanningLocationWikiCommit.php",
32831+
"hash": "fbf046613d33288e93513b7fca257c5e"
3283232832
}
3283332833
]
3283432834
},

clients/GitHubEnterpriseCloud/src/Internal/Attribute/CastUnionToType/Schema/SecretScanningLocation/Details.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ public function cast(mixed $value, ObjectMapper $hydrator): mixed
3232
}
3333
}
3434

35+
if ($signature === 'blob_sha|commit_sha|commit_url|end_column|end_line|page_url|path|start_column|start_line') {
36+
try {
37+
return $hydrator->hydrateObject(Schema\SecretScanningLocationWikiCommit::class, $value);
38+
} catch (Throwable) {
39+
}
40+
}
41+
3542
if ($signature === 'issue_title_url') {
3643
try {
3744
return $hydrator->hydrateObject(Schema\SecretScanningLocationIssueTitle::class, $value);

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/Operation/Enterprises/Enterprise/CodeSecurityAndAnalysis.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
6161

6262
after_advancedSecurityEnabledForNewRepositories:
6363

64+
$value = $payload['advanced_security_enabled_for_new_user_namespace_repositories'] ?? null;
65+
66+
if ($value === null) {
67+
$properties['advancedSecurityEnabledForNewUserNamespaceRepositories'] = null;
68+
goto after_advancedSecurityEnabledForNewUserNamespaceRepositories;
69+
}
70+
71+
$properties['advancedSecurityEnabledForNewUserNamespaceRepositories'] = $value;
72+
73+
after_advancedSecurityEnabledForNewUserNamespaceRepositories:
74+
6475
$value = $payload['dependabot_alerts_enabled_for_new_repositories'] ?? null;
6576

6677
if ($value === null) {
@@ -296,6 +307,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
296307
$advancedSecurityEnabledForNewRepositories = $object->advancedSecurityEnabledForNewRepositories;
297308
after_advancedSecurityEnabledForNewRepositories: $result['advanced_security_enabled_for_new_repositories'] = $advancedSecurityEnabledForNewRepositories;
298309

310+
$advancedSecurityEnabledForNewUserNamespaceRepositories = $object->advancedSecurityEnabledForNewUserNamespaceRepositories;
311+
312+
if ($advancedSecurityEnabledForNewUserNamespaceRepositories === null) {
313+
goto after_advancedSecurityEnabledForNewUserNamespaceRepositories;
314+
}
315+
316+
after_advancedSecurityEnabledForNewUserNamespaceRepositories: $result['advanced_security_enabled_for_new_user_namespace_repositories'] = $advancedSecurityEnabledForNewUserNamespaceRepositories;
317+
299318
$dependabotAlertsEnabledForNewRepositories = $object->dependabotAlertsEnabledForNewRepositories;
300319
after_dependabotAlertsEnabledForNewRepositories: $result['dependabot_alerts_enabled_for_new_repositories'] = $dependabotAlertsEnabledForNewRepositories;
301320

clients/GitHubEnterpriseCloud/src/Internal/Hydrator/WebHook/SecretScanningAlertLocation.php

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
use function count;
3636
use function is_a;
3737
use function is_array;
38+
use function is_object;
3839

3940
class SecretScanningAlertLocation implements ObjectMapper
4041
{
@@ -724,7 +725,7 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
724725
$value = $payload['type'] ?? null;
725726

726727
if ($value === null) {
727-
$missingFields[] = 'type';
728+
$properties['type'] = null;
728729
goto after_type;
729730
}
730731

@@ -735,7 +736,7 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
735736
$value = $payload['details'] ?? null;
736737

737738
if ($value === null) {
738-
$missingFields[] = 'details';
739+
$properties['details'] = null;
739740
goto after_details;
740741
}
741742

@@ -748,7 +749,7 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
748749
$value = $detailsCaster1->cast($value, $this);
749750

750751
if ($value === null) {
751-
$missingFields[] = 'details';
752+
$properties['details'] = null;
752753
goto after_details;
753754
}
754755

@@ -4235,24 +4236,24 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
42354236
assert($object instanceof SecretScanningLocation);
42364237
$result = [];
42374238

4238-
$type = $object->type;
4239+
$type = $object->type;
4240+
4241+
if ($type === null) {
4242+
goto after_type;
4243+
}
4244+
42394245
after_type: $result['type'] = $type;
42404246

42414247
$details = $object->details;
4242-
$details = match ($details::class) {
4243-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationCommit' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationCommit($details),
4244-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationIssueTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationIssueTitle($details),
4245-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationIssueBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationIssueBody($details),
4246-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationIssueComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationIssueComment($details),
4247-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationDiscussionTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationDiscussionTitle($details),
4248-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationDiscussionBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationDiscussionBody($details),
4249-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationDiscussionComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationDiscussionComment($details),
4250-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationPullRequestTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationPullRequestTitle($details),
4251-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationPullRequestBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationPullRequestBody($details),
4252-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationPullRequestComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationPullRequestComment($details),
4253-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationPullRequestReview' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationPullRequestReview($details),
4254-
'ApiClients\Client\GitHubEnterpriseCloud\Schema\SecretScanningLocationPullRequestReviewComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️Schema⚡️SecretScanningLocationPullRequestReviewComment($details),
4255-
};
4248+
4249+
if ($details === null) {
4250+
goto after_details;
4251+
}
4252+
4253+
if (is_object($details)) {
4254+
$details = $this->serializeObject($details);
4255+
}
4256+
42564257
after_details: $result['details'] = $details;
42574258

42584259
return $result;

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public function __construct(private Routers $routers)
4343
{
4444
}
4545

46-
/** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */
4746
public function call(string $call, array $params, array $pathChunks): InstallationToken|Authorization|RunnerGroupsEnterprise|WithoutBody|RunnerGroupsOrg|EmptyObject|ProjectCard|Json|Autolink|CheckRun|CheckSuite|Codespace|Deployment|\ApiClients\Client\GitHubEnterpriseCloud\Schema\Operations\Repos\CreateDeployment\Response\ApplicationJson\Accepted\Application\Json|FullRepository|Hook|Issue|DeployKey|Label|MergedUpstream|Commit|Milestone|Page|Project|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|MinimalRepository|CodespaceExportDetails|CodespaceWithFullRepository
4847
{
4948
if ($pathChunks[0] === '') {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public function createDeployment(array $params): Deployment|Json|WithoutBody
227227
return $operator->call($arguments['owner'], $arguments['repo'], $params);
228228
}
229229

230+
/** @return */
230231
public function createDispatchEvent(array $params): WithoutBody
231232
{
232233
$arguments = [];

clients/GitHubEnterpriseCloud/src/Operation/Repos.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,7 @@ public function getDeploymentStatus(string $owner, string $repo, int $deployment
670670
return $this->operators->repos👷GetDeploymentStatus()->call($owner, $repo, $deploymentId, $statusId);
671671
}
672672

673+
/** @return */
673674
public function createDispatchEvent(string $owner, string $repo, array $params): WithoutBody
674675
{
675676
return $this->operators->repos👷CreateDispatchEvent()->call($owner, $repo, $params);

clients/GitHubEnterpriseCloud/src/PHPStan/ClientCallReturnTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2852,7 +2852,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
28522852
}
28532853

28542854
if ($call === 'POST /repos/{owner}/{repo}/dispatches') {
2855-
return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
2855+
return $this->typeResolver->resolve('');
28562856
}
28572857

28582858
if ($call === 'GET /repos/{owner}/{repo}/environments') {

clients/GitHubEnterpriseCloud/src/Schema/AliasAbstract/Tiet76B5D9AD/Tiet3F1D0B82/Tiet9290F302/Tiet5AB2627C.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)