Skip to content

Commit c294ba0

Browse files
authored
Merge pull request #920 from php-api-clients/GitHubEnterprise-3.9/from-1.1.4-43a89139b82e2bb0cb2847f138f57bea-from-1.1.4-43a89139b82e2bb0cb2847f138f57bea
2 parents 45ba677 + f9a988c commit c294ba0

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

clients/GitHubEnterprise-3.9/etc/openapi-client-generator.state

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "a75cad5f793fe1b279bd4691d9c9ce58",
2+
"specHash": "43a89139b82e2bb0cb2847f138f57bea",
33
"generatedFiles": {
44
"files": [
55
{
@@ -5732,7 +5732,7 @@
57325732
},
57335733
{
57345734
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Operation\/Repos.php",
5735-
"hash": "8edfbde278919700051c90f0fe715caa"
5735+
"hash": "eca1ec3de5d924158109d2e2c57887e8"
57365736
},
57375737
{
57385738
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -22444,7 +22444,7 @@
2244422444
},
2244522445
{
2244622446
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetRelease.php",
22447-
"hash": "8c9dde0e319b4accaa364e6bef2b4983"
22447+
"hash": "fd2db05221b492fa735a87f497f459e4"
2244822448
},
2244922449
{
2245022450
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetReleaseTest.php",
@@ -25628,7 +25628,7 @@
2562825628
},
2562925629
{
2563025630
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
25631-
"hash": "d31a3aa6236cd7462ef9a6371f800f77"
25631+
"hash": "a54873db6fc833e8a85d27b5893071bb"
2563225632
},
2563325633
{
2563425634
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Activity.php",
@@ -26100,7 +26100,7 @@
2610026100
},
2610126101
{
2610226102
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26103-
"hash": "7a8177a2e5193bdca472f8e6e5289d06"
26103+
"hash": "fe22449a30715a33147d88f8a3c9cc49"
2610426104
},
2610526105
{
2610626106
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
@@ -28320,11 +28320,11 @@
2832028320
},
2832128321
{
2832228322
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
28323-
"hash": "2d0a246efd536c23d3eca701dd534acb"
28323+
"hash": "8a976cff8bfe848170936c8e5a97fc44"
2832428324
},
2832528325
{
2832628326
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
28327-
"hash": "472124d120c6c175972e118c07213a88"
28327+
"hash": "2037c631a83a1cba63b6796d2d87aff3"
2832828328
},
2832928329
{
2833028330
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",

clients/GitHubEnterprise-3.9/src/Internal/Operator/Repos/GetRelease.php

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(string $owner, string $repo, int $releaseId): Release|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\GetRelease($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $releaseId);

clients/GitHubEnterprise-3.9/src/Internal/Router/Get/Repos.php

+1
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ public function getLatestRelease(array $params): Release
692692
return $operator->call($arguments['owner'], $arguments['repo']);
693693
}
694694

695+
/** @return */
695696
public function getRelease(array $params): Release|WithoutBody
696697
{
697698
$arguments = [];

clients/GitHubEnterprise-3.9/src/Internal/Router/Get/Six.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function __construct(private Routers $routers)
6363
{
6464
}
6565

66-
/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|WithoutBody|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\PullRequestReviewComment>|Schema\Release|\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Observable<Schema\Operations\Repos\ListCacheInfo\Response\ApplicationJson\Ok>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
66+
/** @return |Observable<Schema\RunnerApplication>|Observable<Schema\HookDeliveryItem>|Observable<Schema\MinimalRepository>|Observable<Schema\TeamDiscussion>|Observable<Schema\SimpleUser>|Observable<Schema\TeamProject>|Observable<Schema\Team>|Observable<Schema\CodeScanningAlertItems>|WithoutBody|Observable<Schema\CodeScanningAnalysis>|Observable<Schema\DependabotAlert>|Observable<Schema\IssueComment>|Observable<Schema\IssueEvent>|Observable<Schema\PageBuild>|Observable<Schema\PullRequestReviewComment>|Observable<Schema\Operations\Repos\ListCacheInfo\Response\ApplicationJson\Ok>|Observable<Schema\SecretScanningAlert>|Observable<int>|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\CommitActivity>|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\ContributorActivity>|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable<Schema\TagProtection>|Observable<Schema\TeamDiscussionComment>|Observable<Schema\Reaction>|Observable<Schema\PackageVersion>|Observable<Schema\Event> */
6767
public function call(string $call, array $params, array $pathChunks): PreReceiveEnvironmentDownloadStatus|ActionsCacheUsageOrgEnterprise|ActionsCacheUsagePolicyEnterprise|Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|RunnerGroupsEnterprise|iterable|Runner|AdvancedSecurityActiveCommitters|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|RunnerGroupsOrg|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|WithoutBody|Package|ExternalGroups|ProjectCollaboratorPermission|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|CommitComment|Commit|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|RepositoryPreReceiveHook|PullRequest|Release|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListEnvironmentSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListEnvironmentVariables\Response\ApplicationJson\Ok\Application\Json|TeamRepository
6868
{
6969
if ($pathChunks[0] === '') {

clients/GitHubEnterprise-3.9/src/Operation/Repos.php

+1
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,7 @@ public function getReleaseByTag(string $owner, string $repo, string $tag): Relea
942942
return $this->operators->repos👷GetReleaseByTag()->call($owner, $repo, $tag);
943943
}
944944

945+
/** @return */
945946
public function getRelease(string $owner, string $repo, int $releaseId): Release|WithoutBody
946947
{
947948
return $this->operators->repos👷GetRelease()->call($owner, $repo, $releaseId);

clients/GitHubEnterprise-3.9/src/PHPStan/ClientCallReturnTypes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3256,7 +3256,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
32563256
}
32573257

32583258
if ($call === 'GET /repos/{owner}/{repo}/releases/{release_id}') {
3259-
return $this->typeResolver->resolve('Schema\\Release|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody');
3259+
return $this->typeResolver->resolve('');
32603260
}
32613261

32623262
if ($call === 'DELETE /repos/{owner}/{repo}/releases/{release_id}') {

clients/GitHubEnterprise-3.9/tests/Types/ClientCallReturnTypes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ function authHeader(): string
820820
assertType('', $client->call('POST /repos/{owner}/{repo}/releases/generate-notes'));
821821
assertType('', $client->call('GET /repos/{owner}/{repo}/releases/latest'));
822822
assertType('', $client->call('GET /repos/{owner}/{repo}/releases/tags/{tag}'));
823-
assertType('Schema\\Release|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /repos/{owner}/{repo}/releases/{release_id}'));
823+
assertType('', $client->call('GET /repos/{owner}/{repo}/releases/{release_id}'));
824824
assertType('', $client->call('DELETE /repos/{owner}/{repo}/releases/{release_id}'));
825825
assertType('', $client->call('PATCH /repos/{owner}/{repo}/releases/{release_id}'));
826826
assertType('Observable<Schema\\ReleaseAsset>', $client->call('GET /repos/{owner}/{repo}/releases/{release_id}/assets'));

etc/specs/GitHubEnterprise-3.9/current.spec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22814,7 +22814,7 @@ paths:
2281422814
see \"[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou
2281522815
must compress the SARIF-formatted analysis data that you want to upload, using
2281622816
`gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip
22817-
-c analysis-data.sarif | base64 -w0\n```\n<br>\nSARIF upload supports a maximum
22817+
-c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum
2281822818
number of entries per the following data objects, and an analysis will be
2281922819
rejected if any of these objects is above its maximum value. For some objects,
2282022820
there are additional values over which the entries will be ignored while keeping

0 commit comments

Comments
 (0)