Skip to content

Commit d82e695

Browse files
authored
[GitHubEnterprise-3.10] Update to 1.1.4-5670d535a7e9d9574f99d628de23be82 from 1.1.4-164f513f67701d0c0f9989565d6d21a1
Detected Schema changes: starting work. Building original model for commit 12c533 SPEC: extracted 2 commits from history DONE: completed └─┬Paths └─┬/repos/{owner}/{repo}/code-scanning/sarifs └─┬POST └──[M] description (23704:20) Date: 12/23/23 | Commit: New: etc/specs/GitHubEnterprise-3.10/previous.spec.yaml, Original: etc/specs/GitHubEnterprise-3.10/current.spec.yaml Document Element | Total Changes | Breaking Changes paths | 1 | 0 INFO: Total Changes: 1 INFO: Modifications: 1
1 parent 4450f2c commit d82e695

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "164f513f67701d0c0f9989565d6d21a1",
2+
"specHash": "5670d535a7e9d9574f99d628de23be82",
33
"generatedFiles": {
44
"files": [
55
{
@@ -13400,7 +13400,7 @@
1340013400
},
1340113401
{
1340213402
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Operation\/Repos.php",
13403-
"hash": "2bcb30c47f10a61a789085e804207942"
13403+
"hash": "39de8ec710dbad08dfbabeacb450c1d9"
1340413404
},
1340513405
{
1340613406
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Operation\/Reactions.php",
@@ -22984,7 +22984,7 @@
2298422984
},
2298522985
{
2298622986
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Internal\/Operator\/Repos\/GetRelease.php",
22987-
"hash": "8c9dde0e319b4accaa364e6bef2b4983"
22987+
"hash": "fd2db05221b492fa735a87f497f459e4"
2298822988
},
2298922989
{
2299022990
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/tests\/\/Internal\/Operation\/Repos\/GetReleaseTest.php",
@@ -26168,7 +26168,7 @@
2616826168
},
2616926169
{
2617026170
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Repos.php",
26171-
"hash": "4f002309c77ce543e8b61ed43512ba49"
26171+
"hash": "f01388e07914ee585c02ac5de855f8da"
2617226172
},
2617326173
{
2617426174
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Activity.php",
@@ -26640,7 +26640,7 @@
2664026640
},
2664126641
{
2664226642
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26643-
"hash": "16992cf5198111944ae735455c6b48f4"
26643+
"hash": "cba3a0fde12d9ebf02ca535619a943c9"
2664426644
},
2664526645
{
2664626646
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
@@ -28916,11 +28916,11 @@
2891628916
},
2891728917
{
2891828918
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
28919-
"hash": "d23eefbccc2508eb2ca2236f9315a771"
28919+
"hash": "832f7298bfd4d8532cd5a302b2193aeb"
2892028920
},
2892128921
{
2892228922
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
28923-
"hash": "183d35aa8d219c2ece018f25eb4515bd"
28923+
"hash": "8fea2e832a5a521dda572081a70bfd07"
2892428924
},
2892528925
{
2892628926
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",

clients/GitHubEnterprise-3.10/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.10/src/Internal/Router/Get/Repos.php

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

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

clients/GitHubEnterprise-3.10/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.10/src/Operation/Repos.php

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

983+
/** @return */
983984
public function getRelease(string $owner, string $repo, int $releaseId): Release|WithoutBody
984985
{
985986
return $this->operators->repos👷GetRelease()->call($owner, $repo, $releaseId);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3356,7 +3356,7 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method
33563356
}
33573357

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

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ function authHeader(): string
845845
assertType('', $client->call('POST /repos/{owner}/{repo}/releases/generate-notes'));
846846
assertType('', $client->call('GET /repos/{owner}/{repo}/releases/latest'));
847847
assertType('', $client->call('GET /repos/{owner}/{repo}/releases/tags/{tag}'));
848-
assertType('Schema\\Release|\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('GET /repos/{owner}/{repo}/releases/{release_id}'));
848+
assertType('', $client->call('GET /repos/{owner}/{repo}/releases/{release_id}'));
849849
assertType('', $client->call('DELETE /repos/{owner}/{repo}/releases/{release_id}'));
850850
assertType('', $client->call('PATCH /repos/{owner}/{repo}/releases/{release_id}'));
851851
assertType('Observable<Schema\\ReleaseAsset>', $client->call('GET /repos/{owner}/{repo}/releases/{release_id}/assets'));

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23717,7 +23717,7 @@ paths:
2371723717
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
2371823718
must compress the SARIF-formatted analysis data that you want to upload, using
2371923719
`gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip
23720-
-c analysis-data.sarif | base64 -w0\n```\n<br>\nSARIF upload supports a maximum
23720+
-c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum
2372123721
number of entries per the following data objects, and an analysis will be
2372223722
rejected if any of these objects is above its maximum value. For some objects,
2372323723
there are additional values over which the entries will be ignored while keeping

0 commit comments

Comments
 (0)